X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fbad;h=8eac93a2e189acf1fb1d64ad19ef7f70f8834c7d;hb=26504b77eea8eab454c143f50c3a4da4ba63a178;hp=c4184d88642e7c36c0afc60f25c2c2f1b2139def;hpb=0df26c1c2b30a44adc06f9c93650a6f2e31475c0;p=blhc%2Fblhc.git diff --git a/t/logs/bad b/t/logs/bad index c4184d8..8eac93a 100644 --- a/t/logs/bad +++ b/t/logs/bad @@ -9,3 +9,13 @@ gcc -g -O2 -c test-a.c gcc -g -O2 -c test-b.c gcc -g -O2 -c test-c.c gcc -o test test-a.o test-b.o test-c.o -ltest + +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 + +gcc -o test test-a.o test-b.o test-c.a