diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-08 20:58:45 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-08 20:58:45 +0000 |
commit | 1fb133cc81f06528e288547d49cf9e0bbfe8f468 (patch) | |
tree | 76f2ff2c76d333bbfc708040e78d3090e1390437 /devel | |
parent | upgrade to 0.16 (diff) |
fix build when CPUTYPE is set
PR: 32584
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=51254
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}" |