X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fbad-cppflags;h=a4d83b1195815c92fc1ad8e1085364d9d6c005ae;hb=a98be1bc5f253c876681cb133896d72d527fff1c;hp=48e7f5a807699fbdf779706177e95dba7eb97945;hpb=50b731db501c79ad33cb40845c16638703a4ea15;p=blhc%2Fblhc.git 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