Skip to content

Commit

Permalink
OSX: Fix build with recent XCode.
Browse files Browse the repository at this point in the history
Contributed by Joseph Zupko.
  • Loading branch information
Mike Pall committed Apr 7, 2017
1 parent e205ad0 commit 247b362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/host/buildvm_asm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 247b362

Please sign in to comment.