On amd64, include -fPIC in CFLAGS.
PR: ports/63200 Reported by: Hendrik Scholz <hendrik@scholz.net>
This commit is contained in:
parent
58a46d1c44
commit
b3cb478760
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101862
@ -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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user