1 # Command over multiple lines.
3 -g -O2 -fstack-protector\
4 --param=ssp-buffer-size=4 -Wformat-security\
5 -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c
6 gcc -g -O2 -fstack-protector -Wformat -Wformat-security -Werror=format-security\
9 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -c test-c.c
10 gcc -Wl,-z,relro -o test test-a.o test-b.o test-c.o\
13 test test-c.o test-a.o test-b.o\
16 test test-c.o test-b.o test-a.o\
19 test test-b.o test-a.o test-c.c\
22 # Multiple commands in a single line.
23 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c test-a.c; gcc -D_FORTIFY_SOURCE=2 -c test-b.c
24 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -D_FORTIFY_SOURCE=2 -c test-a.c ; gcc -Wformat-security -Werror=format-security -c test-b.c
25 gcc -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c test-a.c;\
26 gcc -O2 -D_FORTIFY_SOURCE=2 -c test-b.c
27 gcc -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c test-a.c ; \
28 gcc -D_FORTIFY_SOURCE=2 -fstack-protector -c test-b.c
29 # Escaped ";" - not really useful, just to check it works.
30 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security \; -Werror=format-security -D_FORTIFY_SOURCE=1 -c test-a.c