aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2020-06-16 07:44:20 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2020-06-16 07:44:20 +0000
commite6aea60464090702d6e802f747856c5b11d5644c (patch)
treef313d789815baf4439c3d5f3219735964bfa11ea /lang
parent9b3a3888b3ab660860b1351b865f96268eefd4ba (diff)
downloadports-e6aea60464090702d6e802f747856c5b11d5644c.tar.gz
ports-e6aea60464090702d6e802f747856c5b11d5644c.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc48/Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 6a2db9e44c91..b3156e5952f8 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -40,37 +40,12 @@ OPTIONS_DEFINE= BOOTSTRAP
OPTIONS_DEFAULT= BOOTSTRAP
BOOTSTRAP_DESC= Build using a full bootstrap
-.if exists(/usr/lib32/libc.so)
-OPTIONS_DEFINE_powerpc64+= MULTILIB
-OPTIONS_DEFAULT_powerpc64+= MULTILIB
-MULTILIB_DESC= Build support for 32-bit and 64-bit targets
-MULTILIB_CONFIGURE_ENABLE= multilib
-.else
-CONFIGURE_ARGS+= --disable-multilib
-.endif
-
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
-.if ${ARCH} == powerpc64
-CONFIGURE_ENV+= UNAME_m="powerpc64"
-.endif
-
-.if ${ARCH} == armv6
-# Override sys.mk including -O in CFLAGS which breaks libgomp building.
-CFLAGS:= ${CFLAGS:S/-O/-O2/}
-. if ${COMPILER_TYPE} == clang
-. if empty(PORT_OPTIONS:MBOOTSTRAP)
-MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
-. else
-MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512
-. endif
-. endif
-.endif
-
LANGUAGES:= c,c++,objc,fortran
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
@@ -87,6 +62,7 @@ INSTALL_TARGET= install-strip
BINMODE= 755
.endif
CONFIGURE_ARGS+=--disable-nls \
+ --disable-multilib \
--enable-gnu-indirect-function \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \