]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good-library
Add more tests.
[blhc/blhc.git] / t / logs / good-library
index a52c84f3a3c3a0ac6bcbe6a3007c795b0da662e5..cdf9c76df8acd55b78a7566236eb4fe07964777c 100644 (file)
@@ -3,6 +3,7 @@ dpkg-buildpackage: source package test
 # -fPIC and -fPIE conflict with each other and -fPIE is not necessary for
 # libraries.
 gcc -D_FORTIFY_SOURCE=2 -g -Wl,relro -Wl,now -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.so
 # -fPIC and -fPIE conflict with each other and -fPIE is not necessary for
 # libraries.
 gcc -D_FORTIFY_SOURCE=2 -g -Wl,relro -Wl,now -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.so
+gcc -D_FORTIFY_SOURCE=2 -g -Wl,relro -Wl,now -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.cc -fPIC -DPIC -o libtest.so
 gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,now -Wl,--as-needed -o libtest.so
 
 gcc -shared -fPIC test.o -Wl,-z -Wl,relro -Wl,now -o .libs/libtest.so.1.0.0
 gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,now -Wl,--as-needed -o libtest.so
 
 gcc -shared -fPIC test.o -Wl,-z -Wl,relro -Wl,now -o .libs/libtest.so.1.0.0