CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed toolchain-noeabi issues (we need --with-sysroot at gcc-static's stage)
[attic/toolchain-noeabi.git] / Makefile
index 88d423f2f63723562a68f095efbc4b0b61d8cb2c..6338a8aadfff7c3c7a0f88347db9480f6ee1e7ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -148,8 +148,9 @@ $(CROSSTOOLS)/lib/gcc: $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION)
                AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \
                $(WORK)/gcc-$(GCC_VERSION)/configure --prefix=$(CROSSTOOLS) \
                --build=$(HOST) --host=$(HOST) --target=$(TARGET) \
-               --disable-multilib --disable-nls \
-               --without-headers --enable-__cxa_atexit --enable-symvers=gnu --disable-decimal-float \
+               --disable-multilib --with-sysroot=$(CLFS) --disable-nls \
+               --without-headers --with-newlib --disable-decimal-float \
+               --enable-__cxa_atexit --enable-symvers=gnu \
                --disable-libgomp --disable-libmudflap --disable-libssp \
                --with-mpfr=$(CROSSTOOLS) --with-gmp=$(CROSSTOOLS) \
                --disable-shared --disable-threads --enable-languages=c && \