summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-12 08:40:57 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-12 08:40:57 +0000
commit87de1e8d939bda416ebed28c492fd5515d6581a1 (patch)
tree0940553b47b553b2ff90d7c84c4d8cce42806dbe /packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch
parent865f9b1ff4f04bf80a9adab5a0a179e53fdd93e9 (diff)
parent2a515b9b1760e1474d2b257e68c00998297f422c (diff)
propagate from branch 'org.openembedded.dev' (head 0f0f223484d369b6dd3347b0af81e9043083a3a6)
to branch 'org.openembedded.dev.avr32' (head 979e73021b273ae65b6f3b1f59da5efb6f436a3d)
Diffstat (limited to 'packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch')
-rw-r--r--packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch b/packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch
new file mode 100644
index 0000000000..0813c456b7
--- /dev/null
+++ b/packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch
@@ -0,0 +1,14 @@
+--- uClibc-0.9.28/Rules.mak.orig 2006-03-30 10:23:05.000000000 +0200
++++ uClibc-0.9.28/Rules.mak 2006-03-30 10:23:07.000000000 +0200
+@@ -272,7 +272,11 @@
+ # If -msoft-float isn't supported, we want an error anyway.
+ # Hmm... might need to revisit this for arm since it has 2 different
+ # soft float encodings.
++ifeq ($(strip $(TARGET_ARCH)),avr32)
++# GCC on avr32 doesn't support -msoft-float, it's the default.
++else
+ CPU_CFLAGS += -msoft-float
++endif
+ ifeq ($(strip $(TARGET_ARCH)),arm)
+ # No longer needed with current toolchains, but leave it here for now.
+ # If anyone is actually still using gcc 2.95 (say), they can uncomment it.