[Pkg-privacy-commits] [pidgin-otr] 150/255: add cc/ld flags for libgcrypt/libgpg-error in INSTALL.mingw
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch experimental
in repository pidgin-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-privacy/packages/pidgin-otr.git
More information about the Pkg-privacy-commits
mailing list