Changeset View
Changeset View
Standalone View
Standalone View
base/gcc6/Makefile
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | CONFIGURE_ARGS+= \ | ||||
--target=${GCC_TARGET} \ | --target=${GCC_TARGET} \ | ||||
--enable-languages=c,c++ \ | --enable-languages=c,c++ \ | ||||
--enable-gnu-indirect-function \ | --enable-gnu-indirect-function \ | ||||
--disable-nls \ | --disable-nls \ | ||||
--without-headers \ | --without-headers \ | ||||
--with-gxx-include-dir=/usr/include/c++/v1/ \ | --with-gxx-include-dir=/usr/include/c++/v1/ \ | ||||
--with-sysroot="/" \ | --with-sysroot="/" \ | ||||
--with-build-sysroot=${CROSS_SYSROOT} \ | --with-build-sysroot=${CROSS_SYSROOT} \ | ||||
-with-pkgversion="GNU Collection for FreeBSD" | -with-pkgversion="GNU Collection for FreeBSD" \ | ||||
--enable-initfini-array | |||||
ALL_TARGET?= all-gcc | ALL_TARGET?= all-gcc | ||||
INSTALL_TARGET?= install-gcc | INSTALL_TARGET?= install-gcc | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} >= 1200000 | |||||
CONFIGURE_ARGS+= --enable-initfini-array | |||||
.endif | |||||
.if ${HOSTARCH} == "amd64" | .if ${HOSTARCH} == "amd64" | ||||
CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} | CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} | ||||
.else | .else | ||||
CONFIGURE_TARGET= ${HOSTARCH}-unknown-${OPSYS:tl}${OSREL} | CONFIGURE_TARGET= ${HOSTARCH}-unknown-${OPSYS:tl}${OSREL} | ||||
.endif | .endif | ||||
PLIST_SUB+= PLUGINS="" | PLIST_SUB+= PLUGINS="" | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |