summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/gcc-uClibc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-05 22:47:07 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-05 22:47:07 +0000
commit95dfbf5eb9150d61ff922fb4beebfa5a399229c4 (patch)
treee6ceda813959b0c75d8b7523bcc9a1210271a74e /extra/gcc-uClibc/gcc-uClibc.c
parentee5c6440b578f9b70baeb7756f6f6370de730ed4 (diff)
Only enable elf2flt support when using elf toolchains
-Erik
Diffstat (limited to 'extra/gcc-uClibc/gcc-uClibc.c')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index a16349626..76798fee2 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
}
if (linking && source_count) {
-#ifndef HAS_MMU
+#if defined HAVE_ELF && ! defined HAS_MMU
gcc_argv[i++] = "-Wl,-elf2flt";
#endif
if (use_stdlib) {