]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/bad
Improve detection of linker commands.
[blhc/blhc.git] / t / logs / bad
index 4f95039acedee49b0615d3c9add7778a9f411ff8..2d4885dab4ec63d3bbe3f7044e4f413e369da33e 100644 (file)
@@ -14,3 +14,6 @@ x86_64-linux-gnu-gcc -g -O2 -c test-a.c
 x86_64-linux-gnu-gcc -g -O2 -c test-b.c
 x86_64-linux-gnu-gcc -g -O2 -c test-c.c
 x86_64-linux-gnu-gcc -o test test-a.o test-b.o test-c.o -ltest
+
+g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pthread -o ./testProgram ../src/test/testProgram.cpp
+g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pthread -Wl,-z,relro -o ../src/test/bin/test ../src/test/objs/test.o