projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fc11a
)
darwin name in target tripple may contain version
author
Matthias Braun
<matze@braunis.de>
Tue, 14 Feb 2012 10:22:05 +0000
(11:22 +0100)
committer
Matthias Braun
<matze@braunis.de>
Tue, 14 Feb 2012 10:22:05 +0000
(11:22 +0100)
driver/firm_machine.c
patch
|
blob
|
history
diff --git
a/driver/firm_machine.c
b/driver/firm_machine.c
index
7c016fb
..
593e485
100644
(file)
--- a/
driver/firm_machine.c
+++ b/
driver/firm_machine.c
@@
-34,7
+34,7
@@
static bool setup_os_support(const char *os)
if (strstr(os, "linux") != NULL || strstr(os, "bsd") != NULL
|| streq(os, "solaris")) {
set_be_option("ia32-gasmode=elf");
- } else if (str
eq
(os, "darwin")) {
+ } else if (str
start
(os, "darwin")) {
set_be_option("ia32-gasmode=macho");
set_be_option("ia32-stackalign=4");
set_be_option("pic=true");