From fa67ded48e668ccdf6683a66eb58caaa4ea3a015 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Wed, 21 Jan 2004 11:27:15 +0000 Subject: Remove my hack to remove CPU_CFLAGS and use the new WITHOUT_CPU_CFLAGS feature in bsd.port.mk --- devel/i386-rtems-objc/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'devel/i386-rtems-objc') diff --git a/devel/i386-rtems-objc/Makefile b/devel/i386-rtems-objc/Makefile index 7362a7cd0abe..ef068265da54 100644 --- a/devel/i386-rtems-objc/Makefile +++ b/devel/i386-rtems-objc/Makefile @@ -56,14 +56,9 @@ CONFIGURE_SCRIPT?= ../${OBJCNAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p -NO_CPU_FLAGS= true -MAKE_FLAGS= LANGUAGES="objc" -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=[^ ]*//} +WITHOUT_CPU_CFLAGS= true +MAKE_FLAGS= LANGUAGES="objc" +MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} pre-configure: @(cd ${WRKDIR} ; \ -- cgit v1.2.3