From ebc15011db0ba00d3ed23ede0417b71bebb2d6e3 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 3 Mar 2016 12:44:43 +0000 Subject: [PATCH] Fixes: - Disabled libssp and libmudflap - Fix for FS#71: We weren't copying libstdc++.so* and libgcc_s.so* to our CLFS --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14046d4..b1bd46f 100644 --- a/Makefile +++ b/Makefile @@ -249,11 +249,14 @@ $(CLFS)/lib/gcc: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION) --with-headers=$(CLFS)/usr/include --enable-shared \ --disable-multilib --with-sysroot=$(CLFS) --disable-nls \ --enable-languages=c,c++ --enable-__cxa_atexit \ - --enable-threads=posix --disable-libstdcxx-pch --disable-bootstrap --disable-libgomp \ + --enable-threads=posix --disable-libstdcxx-pch --disable-bootstrap \ + --disable-libgomp --disable-libssp --disable-libmudflap \ --with-mpfr=$(CROSSTOOLS) --with-gmp=$(CROSSTOOLS) --with-mpc=$(CROSSTOOLS) \ --with-abi=$(ABI) --with-mode=$(MODE) --with-float=$(FLOAT) && \ make $(MJ) AS_FOR_TARGET="$(TARGET)-as" LD_FOR_TARGET="$(TARGET)-ld" && \ make install || exit 1 + cp -va $(WORK)/build-gcc-final/$(TARGET)/libstdc++-v3/src/.libs/libstdc++.so* $(CLFS)/usr/lib + cp -va $(WORK)/build-gcc-final/$(TARGET)/libgcc/libgcc_s.so* $(CLFS)/usr/lib touch $(CLFS)/lib/gcc gcc-final: libgmp libmpfr glibc $(CLFS)/lib/gcc -- 2.26.2