cyrus-sasl: unbreak due to PIE.

This commit is contained in:
Juan RP 2016-03-30 14:25:09 +02:00
parent 2ba03419b0
commit dad4ec0741
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,6 @@ pre_configure() {
popd
}
do_configure() {
export CFLAGS+=" -fPIC"
LIBS=-lsasl2 ./configure ${configure_args} \
--sbindir=/usr/bin --disable-static --enable-shared \
--enable-alwaystrue --enable-checkapop --enable-cram \

View file

@ -1,12 +1,13 @@
--- a/include/Makefile.am.orig 2014-07-25 16:11:53.760645554 +0200
+++ b/include/Makefile.am 2014-07-25 16:12:05.961050991 +0200
@@ -49,6 +49,9 @@ saslinclude_HEADERS = hmac-md5.h md5.h m
@@ -49,6 +49,10 @@ saslinclude_HEADERS = hmac-md5.h md5.h m
noinst_PROGRAMS = makemd5
+CC = cc
+CFLAGS = -O2
+LIBS =
+LDFLAGS =
makemd5_SOURCES = makemd5.c
md5global.h: makemd5