CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixes:
authorVictor Martinez <pitillo@ono.com>
Thu, 3 Mar 2016 12:44:43 +0000 (12:44 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 3 Mar 2016 12:44:43 +0000 (12:44 +0000)
- Disabled libssp and libmudflap
- Fix for FS#71: We weren't copying libstdc++.so* and libgcc_s.so* to our CLFS

Makefile

index 14046d497e4a3de868e499452aaeedbed81bcd40..b1bd46ff65fea33262dd732490dc409ac62b414d 100644 (file)
--- 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