]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good
Detect compile type (preprocess, compile, link) correctly.
[blhc/blhc.git] / t / logs / good
index 447ff17fb30e47ca9e4a45cb70e524ceccfe35c3..82a6d97f548472a1f8a56c41712b632d2c0a2af3 100644 (file)
@@ -20,3 +20,12 @@ g++ -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wfo
 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
 
 g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pthread -Wl,-z,relro ../src/test/objs/test.o -o ../src/test/bin/test
+
+gcc -c -o test test.S
+gcc -D_FORTIFY_SOURCE=2 -c -o test test.s
+
+gcc -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c -D_FORTIFY_SOURCE=2 ../../../../src/test/test.c -o test.so.o
+
+gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro test.c -o test.output
+
+gcc -E -D_FORTIFY_SOURCE=2 test.c