| 1 |
dpkg-buildpackage: source package test |
| 2 |
|
| 3 |
gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.so |
| 4 |
gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so |
| 5 |
gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so |
| 6 |
|
| 7 |
gcc -shared -fPIC test.o -Wl,-z -Wl,relro -o .libs/libtest.so.1.0.0 |
| 8 |
|
| 9 |
gcc -shared -o libtest.so.0d ./test-a.o test/./test-b.o -Wl,-z,now -lpthread -ldl |
| 10 |
/usr/bin/g++ -shared -fpic -o libtest-6.1.so.0 test.o -ltiff -lz |
| 11 |
|
| 12 |
gcc -Wl,--as-needed -fPIE -pie -o test.cgi test.o -lgcrypt |
| 13 |
|
| 14 |
gcc -g -O2 -fstack-protector-strong -fstack-clash-protection -Wformat -Wformat-security -Werror=format-security test.c -o lib`basename test/test`.so |