[Pkg-privacy-commits] [libotr] 118/225: Make linker hardening [DEP, ALSR] work on Windows builds.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository libotr.

commit 93cffe97861727dcb2dd37952fbe7f309e5e807f
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date:   Sun Sep 9 09:49:21 2012 -0400

    Make linker hardening [DEP, ALSR] work on Windows builds.
    
    Thanks to Daniel Atallah <datallah at pidgin.im> for noticing that it
    wasn't working before.
---
 ChangeLog    | 6 ++++++
 configure.ac | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9104ee3..bbe0356 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-09
+
+	* configure.ac: Make linker hardening [DEP, ALSR] work on
+	Windows builds.  Thanks to Daniel Atallah <datallah at pidgin.im>
+	for noticing that it wasn't working before.
+
 2012-09-04
 
 	* README: Release 4.0.0
diff --git a/configure.ac b/configure.ac
index e523d67..ccaaffd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,8 +159,8 @@ if test x$enable_gcc_hardening != xno; then
     else
         OTR_CHECK_CFLAGS(-fPIE)
         OTR_CHECK_LDFLAGS(-pie, "$all_ldflags_for_check", "$all_libs_for_check")
-        OTR_CHECK_LDFLAGS(--dynamicbase, "$all_ldflags_for_check", "$all_libs_for_check")
-        OTR_CHECK_LDFLAGS(--nxcompat, "$all_ldflags_for_check", "$all_libs_for_check")
+        OTR_CHECK_LDFLAGS([-Wl,--dynamicbase], "$all_ldflags_for_check", "$all_libs_for_check")
+        OTR_CHECK_LDFLAGS([-Wl,--nxcompat], "$all_ldflags_for_check", "$all_libs_for_check")
     fi
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git



More information about the Pkg-privacy-commits mailing list