X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fbad-library;h=831afd9183bb97bdee6147511f8267e367b7a220;hb=992cc016c9d07fab61701a75a0957dcfda83c77d;hp=8ddd78c637ec706f90a09641a5700d541a8d8c22;hpb=95124b124684fece31ecba687478878aa609756b;p=blhc%2Fblhc.git diff --git a/t/logs/bad-library b/t/logs/bad-library index 8ddd78c..831afd9 100644 --- a/t/logs/bad-library +++ b/t/logs/bad-library @@ -1,3 +1,5 @@ +dpkg-buildpackage: source package test + gcc -D_FORTIFY_SOURCE=2 -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.o gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so @@ -5,3 +7,4 @@ gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so gcc -shared -fPIC test.o -Wl,-z -Wl,relro -o .libs/libtest.so.1.0.0 gcc -shared -o libtest.so.0d ./test-a.o test/./test-b.o -Wl,-z,now -lpthread -ldl +/usr/bin/g++ -shared -fpic -o libtest-6.1.so.0 test.o -ltiff -lz