summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/gcc-uClibc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-20 14:35:19 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-20 14:35:19 +0000
commit398f1b156bb58ee096ab64c1d8fdeb295833e5d5 (patch)
treec3400d4a1692924a59363aa0592e05ce6068baf5 /extra/gcc-uClibc/gcc-uClibc.c
parent80847c0ebb657e3a56bb59c79ac2ef0edd03413b (diff)
Add support for doing the mmu-less thing
-Erik
Diffstat (limited to 'extra/gcc-uClibc/gcc-uClibc.c')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index 16fdd2f71..a16349626 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -322,6 +322,9 @@ int main(int argc, char **argv)
}
if (linking && source_count) {
+#ifndef HAS_MMU
+ gcc_argv[i++] = "-Wl,-elf2flt";
+#endif
if (use_stdlib) {
gcc_argv[i++] = nostdlib;
}