diff options
author | James E. Housley <jeh@FreeBSD.org> | 2003-11-20 01:23:54 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2003-11-20 01:23:54 +0000 |
commit | 8936655a35f25bd7c673b7e7402bec77e8c2d44e (patch) | |
tree | 0da6e543cd98fe35a2e54fa15cd391db9c7d9f60 /devel/i386-rtems-gcc | |
parent | b8674507fa2523cb76877c75811c7dcda6329fd6 (diff) | |
download | ports-8936655a35f25bd7c673b7e7402bec77e8c2d44e.tar.gz ports-8936655a35f25bd7c673b7e7402bec77e8c2d44e.zip |
Notes
Diffstat (limited to 'devel/i386-rtems-gcc')
-rw-r--r-- | devel/i386-rtems-gcc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |