build: decouple the mips16 support flag from the toolchain
Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
This commit is contained in:
@@ -45,8 +45,6 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
|
||||
$(if $(CONFIG_MIPS64_ABI),.$(subst ",,$(CONFIG_MIPS64_ABI)), \
|
||||
$(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500)))))
|
||||
|
||||
TARGET_CFLAGS := $(filter-out -mips16,$(TARGET_CFLAGS))
|
||||
|
||||
CPU_CFLAGS = \
|
||||
-funsigned-char -fno-builtin -fno-asm \
|
||||
--std=gnu99 -ffunction-sections -fdata-sections \
|
||||
|
||||
Reference in New Issue
Block a user