[Pkg-privacy-commits] [libotr] 97/225: Add new OTR_CHECK_CFLAGS/LDFLAGS options

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:03 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 2fb550153d57008daee83dfcc722599e8e7ba6ca
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Wed Aug 22 01:49:53 2012 -0700

    Add new OTR_CHECK_CFLAGS/LDFLAGS options
    
    checks for support LD support for -pie, --dynamicbase,
    and --nxcompat on win32.
    
    checks for support of CC support for -fPIE.
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index ed6d189..ff5ca17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,6 +149,11 @@ if test x$enable_gcc_hardening != xno; then
     if test "$bwin32" = "false"; then
        OTR_CHECK_CFLAGS(-fPIE)
        OTR_CHECK_LDFLAGS(-pie, "$all_ldflags_for_check", "$all_libs_for_check")
+    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")
     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