Attempt to fix build on amd64.
Reported by: kris
This commit is contained in:
parent
e9d900aadd
commit
833a6a1d10
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152698
1 changed files with 7 additions and 1 deletions
|
@ -26,4 +26,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${ARCH} == "amd64"
|
||||||
|
CFLAGS+= -fPIC
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Reference in a new issue