diff options
Diffstat (limited to 'net-p2p/dogecoin/files/patch-configure.ac')
-rw-r--r-- | net-p2p/dogecoin/files/patch-configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/dogecoin/files/patch-configure.ac b/net-p2p/dogecoin/files/patch-configure.ac new file mode 100644 index 000000000000..ca19633a5370 --- /dev/null +++ b/net-p2p/dogecoin/files/patch-configure.ac @@ -0,0 +1,13 @@ +--- configure.ac.orig 2015-10-31 14:49:41 UTC ++++ configure.ac +@@ -417,8 +417,8 @@ if test x$use_hardening != xno; then + + if test x$TARGET_OS != xwindows; then + # All windows code is PIC, forcing it on just adds useless compile warnings +- AX_CHECK_COMPILE_FLAG([-fPIE],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fPIE"]) +- AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"]) ++ AX_CHECK_COMPILE_FLAG([-fPIC],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fPIC"]) ++ AX_CHECK_LINK_FLAG([[-pic]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pic"]) + fi + + case $host in |