]> ruderich.org/simon Gitweb - blhc/blhc.git/commit
Don't report missing PIE flags in buildd mode if GCC defaults to PIE
authorSimon Ruderich <simon@ruderich.org>
Sun, 23 Jul 2017 19:10:04 +0000 (21:10 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 23 Jul 2017 19:10:04 +0000 (21:10 +0200)
commit290a8e3484c700ebb91c3460820310e03ca38cb2
tree925ed7f953e55fd22ec6248d0743df56686083ac
parentab857bf03c79d9e214ccb14f85756feaf2a40727
Don't report missing PIE flags in buildd mode if GCC defaults to PIE

Dpkg since 1.8.15 respects GCC's settings and doesn't inject PIE flags
if GCC already applies them internally. Therefore don't require PIE
flags if a recent enough dpkg version is used and GCC applies PIE on the
current architecture.
MANIFEST
NEWS
bin/blhc
t/logs/buildd-gcc-pie [new file with mode: 0644]
t/logs/buildd-gcc-pie-builtin [new file with mode: 0644]
t/logs/buildd-gcc-pie-builtin-wrong-arch [new file with mode: 0644]
t/tests.t