From aaba7b8d9e8dab1e1bef9c09b6d2aeaa3c4797eb Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 9 Jan 2003 18:24:17 +0000 Subject: [PATCH] Change --disable-shared to --enable-shared so libstdc++ will build shared libs. --- make/gcc_target.mk | 5 ++--- make/uclibc_toolchain.mk | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/make/gcc_target.mk b/make/gcc_target.mk index f02b7b92f8..a3ed649b70 100644 --- a/make/gcc_target.mk +++ b/make/gcc_target.mk @@ -67,8 +67,7 @@ $(BINUTILS_DIR2)/.configured: --mandir=/usr/man \ --infodir=/usr/info \ --with-gxx-include-dir=/usr/include/c++ \ - --disable-shared $(MULTILIB) \ - --enable-targets=$(GNU_TARGET_NAME) ); + --disable-shared $(MULTILIB) ); touch $(BINUTILS_DIR2)/.configured $(BINUTILS_DIR2)/binutils/objdump: $(BINUTILS_DIR2)/.configured @@ -183,7 +182,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc_build_hacks --localstatedir=/var \ --mandir=/usr/man \ --infodir=/usr/info \ - --disable-shared $(MULTILIB) \ + --enable-shared $(MULTILIB) \ --enable-target-optspace --disable-nls --with-gnu-ld \ --enable-languages=$(TARGET_LANGUAGES) --disable-__cxa_atexit ); touch $(GCC_BUILD_DIR3)/.configured diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index 7e37cf387a..fc0f83f7c4 100644 --- a/make/uclibc_toolchain.mk +++ b/make/uclibc_toolchain.mk @@ -370,7 +370,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.g++_build_hacks --with-local-prefix=$(STAGING_DIR)/usr/local \ --oldincludedir=$(STAGING_DIR)/usr/include $(MULTILIB) \ --enable-target-optspace --disable-nls --with-gnu-ld \ - --disable-shared --enable-languages=$(TARGET_LANGUAGES) --disable-__cxa_atexit \ + --enable-shared --enable-languages=$(TARGET_LANGUAGES) --disable-__cxa_atexit \ --program-prefix=$(ARCH)-uclibc-); touch $(GCC_BUILD_DIR2)/.configured -- 2.30.2