[Pkg-bitcoin-devel] Bug#859353: cgminer shouldn't disable PIE
Adrian Bunk
bunk at debian.org
Sun Apr 2 18:28:02 UTC 2017
Source: cgminer
Version: 4.9.2-1
Severity: normal
Tags: patch
With gcc in stretch defaulting to PIE, hardening=+all,-pie changed
semantics from "enable hardening but not PIE" to "enable all hardening
and explicitely disable the default PIE".
The latter is usually not intended.
The -pie in hardening flags was in some cases required in pre-stretch
releases to avoid build failures caused by (incorrectly) passing -fPIE
to the compiler when building shared libraries or plugins.
This problem does no longer exist.
Please consider applying the following change:
--- debian/rules.old 2017-03-20 10:24:30.000000000 +0000
+++ debian/rules 2017-03-20 10:24:35.000000000 +0000
@@ -4,7 +4,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
#Below list is taken from README
DRIVERS= --enable-avalon\
--enable-avalon2\
More information about the Pkg-bitcoin-devel
mailing list