From 48176ee0de2de37f5fd1e79d2a27df5697a3d4be Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Wed, 4 Feb 2004 21:38:34 +0000 Subject: Switch to using WITHOUT_CPU_CFLAGS again. --- devel/i386-rtems-gcc/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'devel/i386-rtems-gcc') diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile index 419f09514593..b90de3577f2e 100644 --- a/devel/i386-rtems-gcc/Makefile +++ b/devel/i386-rtems-gcc/Makefile @@ -61,14 +61,9 @@ CONFIGURE_SCRIPT?= ../${GCCNAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p -NO_CPU_FLAGS= true +WITHOUT_CPU_CFLAGS= yes 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 \ -- cgit v1.2.3