]> ruderich.org/simon Gitweb - blhc/blhc.git/blob - t/logs/good-multiline
check for -fstack-protector-strong
[blhc/blhc.git] / t / logs / good-multiline
1 dpkg-buildpackage: source package test
2
3 # Command over multiple lines.
4 gcc -g -O2 -fstack-protector-strong \
5 \
6 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c
7 gcc \
8     -g -O2 \
9 -fstack-protector-strong -Wformat \
10 -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c\
11                 test-b.c
12 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-c.c
13 gcc \
14                 -Wl,-z,relro \
15 -o \
16         test \
17             test-a.o test-b.o test-c.o \
18 -ltest
19 gcc \
20                 -Wl,-z,relro \
21 -o\
22 test \
23             test-a.o test-b.o test-c.o \
24 -ltest
25 gcc \
26                 -Wl,-z,relro \
27 -o\
28         test\
29             test-a.o test-b.o test-c.o \
30 -ltest
31
32 # Multiple commands in a single line.
33 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c; gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c
34 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c ; gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c
35 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c;\
36 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c
37 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c ; \
38 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c
39 # Escaped ";" - not really useful, just to check it works.
40 gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security \; -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c
41
42 gcc -c test.c `echo -g -O2 -fstack-protector-strong echo -Wformat -Wformat-security -Werror=format-security | sed 's/.../; s/.../'` -D_FORTIFY_SOURCE=2 -o test.o
43 gcc -c test.c `echo -g -O2 -fstack-protector-strong echo -Wformat -Wformat-security -Werror=format-security | sed "s/.../; s/.../"` -D_FORTIFY_SOURCE=2 -o test.o