From: Matthias Braun Date: Tue, 12 Oct 2010 21:53:20 +0000 (+0000) Subject: fix bug on darwn introduced in the '-mtriple' commit X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=5fa879eb4cc6e5187e1e673e154b11f5a6f813ce;p=cparser fix bug on darwn introduced in the '-mtriple' commit [r28110] --- diff --git a/main.c b/main.c index 3d417c0..5e2c7bc 100644 --- a/main.c +++ b/main.c @@ -673,7 +673,7 @@ static bool set_os_support(const char *os) set_create_ld_ident(create_name_linux_elf); } else if (streq(os, "darwin")) { force_long_double_size = 16; - set_be_option("ia32-gasmode=darwin"); + set_be_option("ia32-gasmode=macho"); set_be_option("ia32-stackalign=4"); set_be_option("pic=true"); set_create_ld_ident(create_name_macho);