]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good
Detect restore of -D_FORTIFY_SOURCE=2
[blhc/blhc.git] / t / logs / good
index 80a9b7c7b5dbd65793251c602dd92f0af5f0894b..f8f3f81d5494beb24a26d739a7856877c4381c5d 100644 (file)
@@ -49,3 +49,8 @@ command --cc test
 
 gcc -MM test.c > test.d
 gcc -MM -MT test.d test.c
+
+gcc -U_FORTIFY_SOURCE   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-h.c
+gcc -D_FORTIFY_SOURCE=0 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-e.c
+gcc -D_FORTIFY_SOURCE=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-f.c
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c test-i.c