]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/arch-avr32
Support architectures which can't use all hardening flags.
[blhc/blhc.git] / t / logs / arch-avr32
diff --git a/t/logs/arch-avr32 b/t/logs/arch-avr32
new file mode 100644 (file)
index 0000000..3454920
--- /dev/null
@@ -0,0 +1,11 @@
+dpkg-buildpackage: source package test
+dpkg-buildpackage: host architecture avr32
+
+# no relro,bindnow
+
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+gcc -o test test.o
+
+# missing flags
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+gcc -o test test.o