add generic patchset levelled up to 2.6.31-rc6
[openwrt.git] / toolchain / gcc / Makefile
index 346971c..f1328a3 100644 (file)
@@ -124,6 +124,7 @@ GCC_CONFIGURE_STAGE2:= \
                --enable-languages=$(TARGET_LANGUAGES) \
                --enable-shared \
                --enable-threads \
+               --disable-tls \
                --with-slibdir=$(TOOLCHAIN_DIR)/lib \
 
 GCC_MAKE:= \
@@ -176,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
 
This page took 0.027926 seconds and 4 git commands to generate.