[cross-gcc] minimalize the dependency of libgcc on any C library

Dan Horák sharkcz at fedoraproject.org
Wed Dec 5 10:45:02 UTC 2012


commit 0f7bd38f18bcff6ad1d79cfa9600eb1be418a8c5
Author: Dan Horák <dan at danny.cz>
Date:   Wed Dec 5 11:40:46 2012 +0100

    minimalize the dependency of libgcc on any C library
    
    We want to minimalize the dependency of libgcc on any C library, so we use the combination
    of --with-newlib and --without-headers, it makes libgcc to build with -Dinhibit_libc that
    minimalizes the dependency on C library.

 cross-gcc.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cross-gcc.spec b/cross-gcc.spec
index a1da850..3a52e05 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -397,7 +397,7 @@ function config_target () {
 	--target=$target \
 	--enable-targets=all \
 	--program-prefix=$cross \
-	--enable-languages=c --without-headers \
+	--enable-languages=c --with-newlib --without-headers \
 	--disable-sjlj-exceptions --with-system-libunwind \
 	--disable-nls --disable-threads --disable-shared \
 	--disable-libmudflap --disable-libssp --disable-libgomp \


More information about the scm-commits mailing list