aboutsummaryrefslogtreecommitdiff
path: root/devel/i386-rtems-gcc
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-20 01:36:40 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-20 01:36:40 +0000
commitb89675496e7f70bae25720f5d912c60136e0596a (patch)
tree8137d9a26369ff0827e4ebcb4ea27d36802c4141 /devel/i386-rtems-gcc
parent8936655a35f25bd7c673b7e7402bec77e8c2d44e (diff)
downloadports-b89675496e7f70bae25720f5d912c60136e0596a.tar.gz
ports-b89675496e7f70bae25720f5d912c60136e0596a.zip
Notes
Diffstat (limited to 'devel/i386-rtems-gcc')
-rw-r--r--devel/i386-rtems-gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile
index 5bdeda73c49b..32ac2e289eec 100644
--- a/devel/i386-rtems-gcc/Makefile
+++ b/devel/i386-rtems-gcc/Makefile
@@ -67,8 +67,8 @@ MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} NO_CPU_CFLAGS=true
# Since once mk/bsd.cpu.mk adds the _CPUCFLAGS they can't be removed
# by NO_CPU_FLAGS, and since they are added long before here we are
# stuck with this hack.
-CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
-CXXFLAGS:= ${CXXFLAGS:C/${_CPUCFLAGS}//}
+CFLAGS:= ${CFLAGS:C/-mcpu=[^ ]*//:C/-march=[^ ]*//:C/-mtune=[^ ]*//}
+CXXFLAGS:= ${CXXFLAGS:C/-mcpu=[^ ]*//:C/-march=[^ ]*//:C/-mtune=[^ ]*//}
MAN1= ${LCLTARGET}-gcc.1 ${LCLTARGET}-g++.1 ${LCLTARGET}-gcj.1 \
cpp.1 gcov.1 gcjh.1 jv-scan.1 jcf-dump.1 gij.1 \