uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)

SVN-Revision: 24120
master
Felix Fietkau 14 years ago
parent 0c0c1f017f
commit f21c0cacf8
  1. 7
      toolchain/uClibc/Makefile

@ -101,12 +101,17 @@ endef
define Host/Configure
endef
CPU_CFLAGS = \
-funsigned-char -fno-builtin -fno-asm \
--std=gnu99 -ffunction-sections -fdata-sections \
$(TARGET_CFLAGS)
UCLIBC_MAKE = PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="$(HOSTCC)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
CPU_CFLAGS="$(CPU_CFLAGS)" \
ARCH="$(CONFIG_ARCH)" \
LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \
DOSTRIP=""

Loading…
Cancel
Save