X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Flogs%2Fbad-cppflags;h=a4d83b1195815c92fc1ad8e1085364d9d6c005ae;hp=48e7f5a807699fbdf779706177e95dba7eb97945;hb=35a018278ad2fb931749f25d41bea0b7bd4f11e9;hpb=fa2e7db77f6c7c9ae52841d5b4cfc8d9a1f221a9 diff --git a/t/logs/bad-cppflags b/t/logs/bad-cppflags index 48e7f5a..a4d83b1 100644 --- a/t/logs/bad-cppflags +++ b/t/logs/bad-cppflags @@ -4,3 +4,7 @@ gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-securit gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c test-b.c gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c test-c.c gcc -Wl,-z,relro -o test test-a.o test-b.o test-c.o -ltest + +gcc -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c ../../../../src/test/test.c -o test.so.o + +g++ -o test -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test-a.cxx test-b.o test-c.o -Wl,-z,relro