summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-20 01:23:54 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-20 01:23:54 +0000
commit8936655a35f25bd7c673b7e7402bec77e8c2d44e (patch)
tree0da6e543cd98fe35a2e54fa15cd391db9c7d9f60 /devel
parent. Install the etc directory. Various documentation refers to files in (diff)
On kris@ suggestion use _CPUCFLAGS to get -mtune also. And I had forgotten
CXXFLAGS
Notes
Notes: svn path=/head/; revision=94417
Diffstat (limited to 'devel')
-rw-r--r--devel/i386-rtems-g77/Makefile3
-rw-r--r--devel/i386-rtems-gcc/Makefile3
-rw-r--r--devel/i386-rtems-objc/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/devel/i386-rtems-g77/Makefile b/devel/i386-rtems-g77/Makefile
index 5b29ef4d31c1..02aeeffff677 100644
--- a/devel/i386-rtems-g77/Makefile
+++ b/devel/i386-rtems-g77/Makefile
@@ -62,7 +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/-mcpu=[^ ]*//:C/-march=[^ ]*//}
+CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
+CXXFLAGS:= ${CXXFLAGS:C/${_CPUCFLAGS}//}
pre-configure:
@(cd ${WRKDIR} ; \
diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile
index dcf726c154ff..5bdeda73c49b 100644
--- a/devel/i386-rtems-gcc/Makefile
+++ b/devel/i386-rtems-gcc/Makefile
@@ -67,7 +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/-mcpu=[^ ]*//:C/-march=[^ ]*//}
+CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
+CXXFLAGS:= ${CXXFLAGS:C/${_CPUCFLAGS}//}
MAN1= ${LCLTARGET}-gcc.1 ${LCLTARGET}-g++.1 ${LCLTARGET}-gcj.1 \
cpp.1 gcov.1 gcjh.1 jv-scan.1 jcf-dump.1 gij.1 \
diff --git a/devel/i386-rtems-objc/Makefile b/devel/i386-rtems-objc/Makefile
index 80fde57873fc..abf8b77adde2 100644
--- a/devel/i386-rtems-objc/Makefile
+++ b/devel/i386-rtems-objc/Makefile
@@ -62,7 +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/-mcpu=[^ ]*//:C/-march=[^ ]*//}
+CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
+CXXFLAGS:= ${CXXFLAGS:C/${_CPUCFLAGS}//}
pre-configure:
@(cd ${WRKDIR} ; \