summaryrefslogtreecommitdiff
path: root/toolchain/gcc/3.3.5/120-softfloat.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-17 21:51:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-17 21:51:48 +0000
commit274f4a83198f71fa50187b39d61e7dab48efa469 (patch)
tree056625782148e2771c6f373933d618499674f92a /toolchain/gcc/3.3.5/120-softfloat.patch
parent300f6c278183f0cdfcd3daec7376d771f40a430d (diff)
direct copy from 3.3.4
Diffstat (limited to 'toolchain/gcc/3.3.5/120-softfloat.patch')
-rw-r--r--toolchain/gcc/3.3.5/120-softfloat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/3.3.5/120-softfloat.patch b/toolchain/gcc/3.3.5/120-softfloat.patch
new file mode 100644
index 000000000..f2431896c
--- /dev/null
+++ b/toolchain/gcc/3.3.5/120-softfloat.patch
@@ -0,0 +1,14 @@
+--- gcc-3.3.2-old/configure.in 2003-08-09 01:57:21.000000000 -0500
++++ gcc-3.3.2/configure.in 2004-01-15 12:46:29.000000000 -0600
+@@ -1418,6 +1418,11 @@
+ fi
+
+ FLAGS_FOR_TARGET=
++case " $targargs " in
++ *" --nfp "* | *" --without-float "*)
++ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -msoft-float'
++ ;;
++esac
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $targargs " in