summaryrefslogtreecommitdiffstats
path: root/devel/i386-rtems-objc
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2003-11-20 01:36:40 +0000
committerjeh <jeh@FreeBSD.org>2003-11-20 01:36:40 +0000
commit0294db10b92ddb5bc33d820323c281cb669db777 (patch)
treee01ff1801bc897817580cd1e6ca55344e602ac4a /devel/i386-rtems-objc
parente85d46bdca1fcc397196ddcbfbb10f77e9c9210a (diff)
downloadFreeBSD-ports-0294db10b92ddb5bc33d820323c281cb669db777.zip
FreeBSD-ports-0294db10b92ddb5bc33d820323c281cb669db777.tar.gz
I was getting a recursive error on CFLAGS I didn't get on 5.x
Diffstat (limited to 'devel/i386-rtems-objc')
-rw-r--r--devel/i386-rtems-objc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/i386-rtems-objc/Makefile b/devel/i386-rtems-objc/Makefile
index abf8b77..2b19b68 100644
--- a/devel/i386-rtems-objc/Makefile
+++ b/devel/i386-rtems-objc/Makefile
@@ -62,8 +62,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=[^ ]*//}
pre-configure:
@(cd ${WRKDIR} ; \
OpenPOWER on IntegriCloud