diff options
author | gerald <gerald@FreeBSD.org> | 2005-05-07 02:39:54 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2005-05-07 02:39:54 +0800 |
commit | 99cc69e724e920a87ef0e338dcd1ce1d250425a4 (patch) | |
tree | 7627179a4a40006d89381dbda22c4a2e498114db /lang | |
parent | 0289f5f345b9c97746fdb1ff3d53a6b711bf2d44 (diff) | |
download | freebsd-ports-gnome-99cc69e724e920a87ef0e338dcd1ce1d250425a4.tar.gz freebsd-ports-gnome-99cc69e724e920a87ef0e338dcd1ce1d250425a4.tar.zst freebsd-ports-gnome-99cc69e724e920a87ef0e338dcd1ce1d250425a4.zip |
Add -fPIC to CXXFLAGS for static builds on alpha for 4.x. Should not be
necessary in theory, but is, apparently.
Submitted by: Idar Tollefsen <idart@performancedesign.no>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc34/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 976d0a02fd28..0c84c2f6c3db 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -71,6 +71,9 @@ LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB} EXTRA_SHLIB= libgcc_s .else CONFIGURE_ARGS+= --disable-shared +.if ${OSVERSION} < 500000 && ${ARCH} == alpha +CXXFLAGS+= -fPIC +.endif .endif ALL_TARGET= bootstrap-lean PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} |