]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
gcc: Do bootstrap instead of profiledbootstrap on ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Jan 2012 11:51:17 +0000 (12:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Jan 2012 11:51:17 +0000 (12:51 +0100)
The profiled bootstrap consumed too much memory >4GB
which is not available on ARM.

gcc/gcc.nm

index cd6b1c31ed69df717d93e2bd41a96684a5a9ff9d..bd50ff455520569ed5fa4c121afdc85d585cf267 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 # Configure build to compile with cloog and ppl.
-build_cloog_ppl = 0
+build_cloog_ppl = 1
 
 name       = gcc
 version    = 4.6.2
-release    = 8
+release    = 9
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Development/Compilers
@@ -71,6 +71,8 @@ build
        # configuration.
        configure_options =
 
+       make_bootstrap = profiledbootstrap
+
        if "%{DISTRO_ARCH}" == "x86_64"
                configure_options = --disable-multilib
 
@@ -84,8 +86,9 @@ build
        end
 
        if "%{DISTRO_ARCH}" == "armv5tel"
-               configure_options += --disable-sjlj-exceptions
+               make_bootstrap = bootstrap
 
+               configure_options += --disable-sjlj-exceptions
                configure_options += --with-float=soft
        end
 
@@ -200,7 +203,7 @@ build
                        %{configure_options}
 
                # GCC does not support a parallel build.
-               make profiledbootstrap BOOT_CFLAGS="${CFLAGS}"
+               make %{make_bootstrap} BOOT_CFLAGS="${CFLAGS}"
        end
 
        #test