summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-05-16 09:33:59 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-16 09:33:59 +0000
commit34c347b9448e1c752c885cf312ec730e1176af9d (patch)
treefc42277ca7ffcb555be479eb4c36134a7ce3c68c /packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch
parente4068ea40e02f149c1d4fbd7ec4b7686bf056f80 (diff)
Add gcc 4.2.3 and gcc 3.4.6-native from Poky
Diffstat (limited to 'packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch')
-rw-r--r--packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch b/packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-120-softfloat.patch
new file mode 100644
index 0000000000..f2431896cf
--- /dev/null
+++ b/packages/gcc/gcc-3.4.6/gcc-uclibc-3.4.0-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