]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/bad-library
check for -fstack-protector-strong
[blhc/blhc.git] / t / logs / bad-library
index ec7603e7e30a39e2eec658c4f259fca8c153fb2d..82ba9c604102b94105516761fd290f381ebc9d2f 100644 (file)
@@ -1,6 +1,6 @@
 dpkg-buildpackage: source package test
 
-gcc -D_FORTIFY_SOURCE=2 -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.so
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.so
 gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so
 gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so
 
@@ -11,4 +11,4 @@ gcc -shared -o libtest.so.0d ./test-a.o test/./test-b.o -Wl,-z,now -lpthread -ld
 
 gcc -Wl,--as-needed  -fPIE -pie -o test.cgi test.o -lgcrypt
 
-gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -o lib`basename test/test`.so
+gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security test.c -o lib`basename test/test`.so