summaryrefslogtreecommitdiff
path: root/recipes/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-no-msoft-float.patch
blob: 0813c456b779ed296bbe279d9638ace82f89026d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.