OSX: Fix build with recent XCode.

Contributed by Joseph Zupko.
master
Mike Pall 2017-04-07 11:59:08 +02:00
parent e205ad0c55
commit 247b3624ff
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ static void emit_asm_label(BuildCtx *ctx, const char *name, int size, int isfunc
case BUILD_machasm:
fprintf(ctx->fp,
"\n\t.private_extern %s\n"
"%s:\n", name, name);
"\t.no_dead_strip %s\n"
"%s:\n", name, name, name);
break;
default:
break;