summaryrefslogtreecommitdiff
path: root/openwrt/toolchain/gcc/3.3.4/120-softfloat.patch
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-01-16 11:43:02 +0000
committerMike Baker <mbm@openwrt.org>2005-01-16 11:43:02 +0000
commit76d90c2ed2956d27e0c8af8fb0b76b3069228d5f (patch)
tree986493f1905c17f3a385831d60709492c4c5ed7a /openwrt/toolchain/gcc/3.3.4/120-softfloat.patch
parenta5e92562f883bbd64e84b69bb683f42911ec7036 (diff)
downloadmtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.zip
mtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.tar.gz
mtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.tar.bz2
Initial revision
SVN-Revision: 197
Diffstat (limited to 'openwrt/toolchain/gcc/3.3.4/120-softfloat.patch')
-rw-r--r--openwrt/toolchain/gcc/3.3.4/120-softfloat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/toolchain/gcc/3.3.4/120-softfloat.patch b/openwrt/toolchain/gcc/3.3.4/120-softfloat.patch
new file mode 100644
index 0000000..f243189
--- /dev/null
+++ b/openwrt/toolchain/gcc/3.3.4/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