CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added cxa_atexit symvers to gcc-static and cxa_atexit to gcc-final
authorVictor Martinez <pitillo@ono.com>
Mon, 17 Oct 2011 06:31:27 +0000 (06:31 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 17 Oct 2011 06:31:27 +0000 (06:31 +0000)
Makefile

index bd14ee869de92f63657085e9148d41a9154792b9..daa0096b053126d3b44394a1d7b402c8b72436c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -181,7 +181,7 @@ $(CROSSTOOLS)/lib/gcc: $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION)
                $(WORK)/gcc-$(GCC_VERSION)/configure --prefix=$(CROSSTOOLS) \
                --build=$(HOST) --host=$(HOST) --target=$(TARGET) \
                --disable-multilib --disable-nls \
-               --without-headers --disable-decimal-float \
+               --without-headers --enable-__cxa_atexit --enable-symvers=gnu --disable-decimal-float \
                --disable-libgomp --disable-libmudflap --disable-libssp \
                --with-mpfr=$(CROSSTOOLS) --with-gmp=$(CROSSTOOLS) --with-mpc=$(CROSSTOOLS) \
                --disable-shared --disable-threads --enable-languages=c \
@@ -260,7 +260,7 @@ $(CLFS)/lib/gcc: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION)
                --build=$(HOST) --host=$(HOST) --target=$(TARGET) \
                --with-headers=$(CLFS)/usr/include --enable-shared  \
                --disable-multilib --with-sysroot=$(CLFS) --disable-nls \
-               --enable-languages=c,c++ --enable-c99 --enable-long-long --enable-threads=posix \
+               --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
                --with-mpfr=$(CROSSTOOLS) --with-gmp=$(CROSSTOOLS) --with-mpc=$(CROSSTOOLS) \
                --with-abi=aapcs-linux --with-arch=armv7-a --with-mode=thumb --with-float=hard --with-fpu=vfpv3-d16 && \
                make AS_FOR_TARGET="$(TARGET)-as" LD_FOR_TARGET="$(TARGET)-ld" && \