1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Adds -fPIC to CFLAGS_aarch64 to a number of ports that already have it

in the amd64 CFLAGS and are failing to build.

Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3321
This commit is contained in:
Andrew Turner 2015-08-09 22:24:04 +00:00
parent 683daeef9e
commit 605de447c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393831
7 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,7 @@ MAKEFILE= makefile
MAKE_ARGS= OPTFLAGS="${CXXFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_ia64= -fPIC

View File

@ -30,6 +30,7 @@ DJBFFT_CONFIGURE_ON= --enable-djbfft
.include <bsd.port.options.mk>
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC

View File

@ -26,6 +26,7 @@ PLIST_FILES= lib/libmsocket.so \
include/msocket.h \
include/msocketutils.h
CFLAGS_aarch64+=-fPIC -DPIC
CFLAGS_amd64+= -fPIC -DPIC
CFLAGS_iad64+= -fPIC -DPIC

View File

@ -17,6 +17,7 @@ WRKSRC= ${WRKDIR}/FreeImage
MAKE_ARGS= CC="${CC}" CPP="${CPP}" CXX="${CXX}"
CFLAGS+= -fexceptions -fvisibility=hidden
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
PLIST_FILES= include/FreeImage.h \

View File

@ -21,6 +21,7 @@ USE_LDCONFIG= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
DATADIR= ${PREFIX}/share/irssi
DOCSDIR= ${PREFIX}/share/doc/irssi
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
OPTIONS_DEFINE= DOCS

View File

@ -20,6 +20,7 @@ USES= gmake jpeg tar:tgz
USE_LDCONFIG= yes
PKGDEINSTALL= ${PKGINSTALL}
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
OPTIONS_DEFINE= DEBUG

View File

@ -14,6 +14,7 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/lockdown
CFLAGS_aarch64+=-fPIC
CFLAGS_amd64+= -fPIC
do-install: