]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/debian-gcc-pie
Add --debian to handle PIE flags like buildd mode
[blhc/blhc.git] / t / logs / debian-gcc-pie
diff --git a/t/logs/debian-gcc-pie b/t/logs/debian-gcc-pie
new file mode 100644 (file)
index 0000000..b804389
--- /dev/null
@@ -0,0 +1,5 @@
+dpkg-buildpackage: source package foo package
+dpkg-buildpackage: host architecture amd64
+
+gcc -g -O2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -Wformat -Werror=format-security -o test test.c
+gcc -fPIE -pie -g -O2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -Wformat -Werror=format-security -o test test.c