Browse Source

package/busybox: CFLAGS variable seems to be handled since last minor update

Therefore drop the EXTRA_CFLAGS variable, as that makes gcc complain
because of doubly passed -fhonour-copts parameter.
Phil Sutter 14 years ago
parent
commit
ce140f3b1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/busybox/Makefile

+ 1 - 1
package/busybox/Makefile

@@ -38,7 +38,7 @@ BB_MAKE_FLAGS:=		V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \
 			HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
 			HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
 			-C ${WRKBUILD}
 			-C ${WRKBUILD}
 ifneq (${ADK_NATIVE},y)
 ifneq (${ADK_NATIVE},y)
-BB_MAKE_FLAGS+=		EXTRA_CFLAGS="${TARGET_CFLAGS}" CROSS_COMPILE="$(TARGET_CROSS)"
+BB_MAKE_FLAGS+=		CROSS_COMPILE="$(TARGET_CROSS)"
 endif
 endif
 
 
 # XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not.
 # XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not.