1 dpkg-buildpackage: source package test
3 # Command over multiple lines.
5 -g -O2 -fstack-protector-strong\
7 -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c
8 gcc -g -O2 -Wformat -Wformat-security -Werror=format-security\
11 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -c test-c.c
12 gcc -Wl,-z,relro -o test test-a.o test-b.o test-c.o\
15 test test-c.o test-a.o test-b.o\
18 test test-c.o test-b.o test-a.o\
21 test test-b.o test-a.o test-c.c\
24 # Multiple commands in a single line.
25 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -c test-a.c; gcc -D_FORTIFY_SOURCE=2 -c test-b.c
26 gcc -g -O2 -fstack-protector-strong -Wformat -D_FORTIFY_SOURCE=2 -c test-a.c ; gcc -Wformat-security -Werror=format-security -c test-b.c
27 gcc -g -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -c test-a.c;\
28 gcc -O2 -D_FORTIFY_SOURCE=2 -c test-b.c
29 gcc -g -O2 -Wformat -Wformat-security -Werror=format-security -c test-a.c ; \
30 gcc -D_FORTIFY_SOURCE=2 -c test-b.c
31 # Escaped ";" - not really useful, just to check it works.
32 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security \; -Werror=format-security -D_FORTIFY_SOURCE=1 -c test-a.c
35 if ./bin-aux/missing --run makeinfo \
36 test.texi > test.info; \
42 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=1 -c test-b.c
44 gcc -c test.c `echo -g -O2 -fstack-protector-strong echo -Wformat -Wformat-security -Werror=format-security | sed 's/.../; s/.../'` -o test.o
45 gcc -c test.c `echo -g -O2 -fstack-protector-strong echo -Wformat -Wformat-security -Werror=format-security | sed "s/.../; s/.../"` -o test.o