mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 20:30:37 +02:00
uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24120 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
97de625a9b
commit
1e52006d64
@ -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…
Reference in New Issue
Block a user