]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
gcc: Enable build for armv5tel.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Nov 2011 23:01:28 +0000 (00:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Nov 2011 23:01:28 +0000 (00:01 +0100)
gcc/gcc.nm

index 284e87a68e7bee8673388fd5836d82dd131ad6db..9588701d5202291859ae1bb593e6d48350a576c4 100644 (file)
@@ -77,6 +77,10 @@ build
                configure_options = --with-arch=%{DISTRO_ARCH} --with-tune=generic
        end
 
+       if "%{DISTRO_ARCH}" == "armv5tel"
+               configure_options += --with-float=soft
+       end
+
        if "%{build_cloog_ppl}" == "1"
                configure_options += --with-cloog --with-ppl
        end