--- /dev/null
+dpkg-buildpackage: source package test
+dpkg-buildpackage: host architecture mipsel
+
+# no stack protector
+
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+gcc -Wl,-z,relro -Wl,-z,now -o test test.o
+
+# missing flags
+
+gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Wall -c test.c
+gcc -Wl,-z,now -o test test.o