From b3cb478760700f0faf22f10fce3bb86881291bd8 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Mon, 23 Feb 2004 14:03:37 +0000 Subject: On amd64, include -fPIC in CFLAGS. PR: ports/63200 Reported by: Hendrik Scholz --- security/krb4/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/security/krb4/Makefile b/security/krb4/Makefile index 78616edb0c97..26a6ba935d0b 100644 --- a/security/krb4/Makefile +++ b/security/krb4/Makefile @@ -27,6 +27,7 @@ CONFIGURE_ARGS+= \ --disable-afs-support \ --without-x CONFIGURE_ENV+= \ + "CFLAGS=${CFLAGS}" \ "CPPFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY" \ "LDFLAGS=-Wl,-rpath,${PREFIX}/lib" @@ -45,4 +46,8 @@ setuids: .endfor .include "Makefile.man" -.include +.include +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif +.include -- cgit v1.2.3