X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1f02e71ef28d1939efd83f89869cc3ee8cfed5c2..9a011dc6d051743db31c7d65820f0f0e6ef5966a:/toolchain/uClibc/Makefile diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 0df26d097..672d48622 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -14,10 +14,10 @@ PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION)) ifeq ($(CONFIG_UCLIBC_VERSION_0_9_32),y) PKG_SOURCE_URL:=git://git.busybox.net/uClibc PKG_SOURCE_PROTO:=git - PKG_SOURCE_VERSION:=22bf234a7119559901adfedc9991876af01eb64c + PKG_SOURCE_VERSION:=4ac7ad3543dd6d7780e71af80fa5c45414451719 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz - LIBC_SO_VERSION:=$(PKG_VERSION)-git + LIBC_SO_VERSION:=$(PKG_VERSION)-rc1-git else PKG_SOURCE_URL:=http://www.uclibc.org/downloads PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -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=""