X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8a4b9a56af3a864f19b94d2ae8e93c3b280191fe..c3fd35e7800ae1f2dd3fa42ade850c948e4b18ea:/toolchain/gcc/Makefile?ds=inline diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 43097880e..f1328a358 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -35,12 +35,6 @@ endif ifeq ($(PKG_VERSION),4.2.4) PKG_MD5SUM:=d79f553e7916ea21c556329eacfeaa16 endif -ifeq ($(PKG_VERSION),4.3.1) - PKG_MD5SUM:=4afa0290cc3a41ac8822666f1110de98 -endif -ifeq ($(PKG_VERSION),4.3.2) - PKG_MD5SUM:=5dfac5da961ecd5f227c3175859a486d -endif ifeq ($(PKG_VERSION),4.3.3) PKG_MD5SUM:=cc3c5565fdb9ab87a05ddb106ba0bd1f endif @@ -130,6 +124,7 @@ GCC_CONFIGURE_STAGE2:= \ --enable-languages=$(TARGET_LANGUAGES) \ --enable-shared \ --enable-threads \ + --disable-tls \ --with-slibdir=$(TOOLCHAIN_DIR)/lib \ GCC_MAKE:= \ @@ -182,6 +177,7 @@ define Stage1/Install # XXX: glibc insists on linking against libgcc_eh ( cd $(TOOLCHAIN_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \ [ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \ + cp libgcc.a libgcc_initial.a; \ ) endef @@ -193,7 +189,7 @@ define Stage2/Configure ln -sf ../include $(TOOLCHAIN_DIR)/usr/$(REAL_GNU_TARGET_NAME)/sys-include rm -rf $(TOOLCHAIN_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib ln -sf ../lib $(TOOLCHAIN_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib - $(if $(CONFIG_mips64)$(CONFIG_mips64el),ln -sf ../lib64 $(TOOLCHAIN_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib64) + $(if $(CONFIG_mips64)$(CONFIG_mips64el)$(CONFIG_x86_64),ln -sf ../lib64 $(TOOLCHAIN_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib64) (cd $(HOST_BUILD_DIR2); rm -f config.cache; \ $(GCC_CONFIGURE_STAGE2) \ );