diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-09 04:58:45 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-09 04:58:45 +0800 |
commit | 98d7f58ae23d205c6dd292e26bdefa819356bce2 (patch) | |
tree | 04aeba1d0f8d3df2d210782d9a405f51e11fd227 /devel | |
parent | 3b610cda8613c3be8c6de5186a37d17253a34122 (diff) | |
download | freebsd-ports-gnome-98d7f58ae23d205c6dd292e26bdefa819356bce2.tar.gz freebsd-ports-gnome-98d7f58ae23d205c6dd292e26bdefa819356bce2.tar.zst freebsd-ports-gnome-98d7f58ae23d205c6dd292e26bdefa819356bce2.zip |
fix build when CPUTYPE is set
PR: 32584
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/arm-elf-gcc295/Makefile | 1 | ||||
-rw-r--r-- | devel/arm-elf-gcc31/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/devel/arm-elf-gcc295/Makefile b/devel/arm-elf-gcc295/Makefile index bfa7acad234e..45b1c0998a71 100644 --- a/devel/arm-elf-gcc295/Makefile +++ b/devel/arm-elf-gcc295/Makefile @@ -26,6 +26,7 @@ RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \ GCC_REV= ${DISTNAME:S/gcc-//g} PLIST_SUB+= GCC_REV=${GCC_REV} USE_BZIP2= yes +CFLAGS:= ${CFLAGS:C/-m(arch|cpu)=[a-zA-Z0-9]+//} CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc" .if defined(DEFAULT_CPU) CONFIGURE_ARGS+= --with-cpu="${DEFAULT_CPU}" diff --git a/devel/arm-elf-gcc31/Makefile b/devel/arm-elf-gcc31/Makefile index bfa7acad234e..45b1c0998a71 100644 --- a/devel/arm-elf-gcc31/Makefile +++ b/devel/arm-elf-gcc31/Makefile @@ -26,6 +26,7 @@ RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \ GCC_REV= ${DISTNAME:S/gcc-//g} PLIST_SUB+= GCC_REV=${GCC_REV} USE_BZIP2= yes +CFLAGS:= ${CFLAGS:C/-m(arch|cpu)=[a-zA-Z0-9]+//} CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc" .if defined(DEFAULT_CPU) CONFIGURE_ARGS+= --with-cpu="${DEFAULT_CPU}" |