From: Matthias Braun Date: Tue, 5 Apr 2011 07:47:01 +0000 (+0200) Subject: avoid apple specific assembler invocation X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=ce2b638b4cb87f237452074ccac8dd9dab6a72c0;p=cparser avoid apple specific assembler invocation --- diff --git a/main.c b/main.c index efb9916..58b81bb 100644 --- a/main.c +++ b/main.c @@ -94,11 +94,7 @@ #endif #ifndef ASSEMBLER -#ifdef __APPLE__ #define ASSEMBLER "gcc -c -xassembler" -#else -#define ASSEMBLER "as" -#endif #endif unsigned int c_mode = _C89 | _ANSI | _C99 | _GNUC; @@ -1105,7 +1101,7 @@ int main(int argc, char **argv) argument_errors = true; } else { machine_size = (unsigned int)value; - add_flag(&asflags_obst, "--%u", machine_size); + add_flag(&asflags_obst, "-m%u", machine_size); add_flag(&ldflags_obst, "-m%u", machine_size); } }