projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84e748
)
Pass -msoft-float to linker so that the correct libraries are linked.
author
Manuel Mohr
<manuel.mohr@kit.edu>
Fri, 26 Aug 2011 12:30:05 +0000
(14:30 +0200)
committer
Manuel Mohr
<manuel.mohr@kit.edu>
Fri, 26 Aug 2011 12:30:05 +0000
(14:30 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
47db4f2
..
9d989ad
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1432,6
+1432,7
@@
int main(int argc, char **argv)
fprintf(stderr, "error: regparm convention not supported yet\n");
argument_errors = true;
} else if (streq(opt, "soft-float")) {
+ add_flag(&ldflags_obst, "-msoft-float");
snprintf(arch_opt, sizeof(arch_opt), "%s-fpunit=softfloat", cpu_arch);
int res = be_parse_arg(arch_opt);
if (res == 0)