X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fgood-pie;h=46abfc13750024ec830db1687aadf8f82d96073a;hb=f1ac73364a8d0a20e279328db6b6e1e8dbfe9a4e;hp=fb12870a4bdea117bb709b91be17858de86ad0dc;hpb=0df26c1c2b30a44adc06f9c93650a6f2e31475c0;p=blhc%2Fblhc.git diff --git a/t/logs/good-pie b/t/logs/good-pie index fb12870..46abfc1 100644 --- a/t/logs/good-pie +++ b/t/logs/good-pie @@ -1,4 +1,6 @@ -gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c -gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c -gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-c.c +dpkg-buildpackage: source package test + +gcc -g -O2 -fPIE -fstack-protector-strong -fstack-clash-protection -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c +gcc -g -O2 -fPIE -fstack-protector-strong -fstack-clash-protection -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c +gcc -g -O2 -fPIE -fstack-protector-strong -fstack-clash-protection -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-c.c gcc -fPIE -pie -Wl,-z,relro -o test test-a.o test-b.o test-c.o -ltest