diff options
author | James E. Housley <jeh@FreeBSD.org> | 2004-01-22 12:12:48 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2004-01-22 12:12:48 +0000 |
commit | 1464e9906bf82f06cca041f9d9908706774932ff (patch) | |
tree | 9af1f58826a9dc02024aa1ab566785d5bf71d5f0 /devel/i386-rtems-gcc | |
parent | f23ad694cc4e8560284bd83ac7bbe958f151bb71 (diff) | |
download | ports-1464e9906bf82f06cca041f9d9908706774932ff.tar.gz ports-1464e9906bf82f06cca041f9d9908706774932ff.zip |
Notes
Diffstat (limited to 'devel/i386-rtems-gcc')
-rw-r--r-- | devel/i386-rtems-gcc/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile index ef8d0766a9ba..32ac2e289eec 100644 --- a/devel/i386-rtems-gcc/Makefile +++ b/devel/i386-rtems-gcc/Makefile @@ -61,9 +61,14 @@ CONFIGURE_SCRIPT?= ../${GCCNAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p -WITHOUT_CPU_CFLAGS= true -MAKE_FLAGS= LANGUAGES="c c++ java" -MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} +NO_CPU_FLAGS= true +MAKE_FLAGS= LANGUAGES="c c++ java" +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=[^ ]*//: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 \ |