[pkg-otr-team] [irssi-plugin-otr] 150/167: add cc/ld flags for libgcrypt/libgpg-error in INSTALL.mingw

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:40 UTC 2014


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

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit 01745ac56b2b066cf16adeb2926e1995bac664e8
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Wed Aug 22 02:10:04 2012 -0700

    add cc/ld flags for libgcrypt/libgpg-error in INSTALL.mingw
---
 INSTALL.mingw | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/INSTALL.mingw b/INSTALL.mingw
index 2bc3778..fe0681c 100644
--- a/INSTALL.mingw
+++ b/INSTALL.mingw
@@ -36,7 +36,9 @@ libgpg-error-1.0:
   HOST_CC=gcc
   DLLTOOL=i586-mingw32msvc-dlltool
   AS=i586-mingw32msvc-as
-  export HOST_CC DLLTOOL AS
+  CFLAGS="-fstack-protector-all -Wstack-protector -fwrapv --param ssp-buffer-size=1"
+  LDFLAGS="-pie"
+  export HOST_CC DLLTOOL AS CFLAGS LDFLAGS
   ./configure --with-pic --build=`./config.guess` --host=i586-mingw32msvc --prefix=/usr/i586-mingw32msvc 
   make
   sudo make install
@@ -47,6 +49,9 @@ libgcrypt-1.2.1:
   wget http://www.cypherpunks.ca/otr/rndw32.diff
   tar -xvzf libgcrypt-1.2.1.tar.gz
   cd /tmp/libgcrypt-1.2.1
+  CFLAGS="-fstack-protector-all -Wstack-protector -fwrapv --param ssp-buffer-size=1"
+  LDFLAGS="-pie"
+  export CFLAGS LDFLAGS
   w32root=/usr/i586-mingw32msvc ./autogen.sh --build-w32
   # Apply a basic configuration change patch
   patch -p0 < /path/to/pidgin-otr/patches/win32/libgcrypt-config.h.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list