update default compiler flag

This commit is contained in:
Xu Jun 2022-06-19 00:10:55 +08:00
parent b8f0f57249
commit fa26bcaee9

View File

@ -2997,7 +2997,7 @@ aot_emit_object_file(AOTCompContext *comp_ctx, char *file_name)
return false; return false;
} }
snprintf(cmd, sizeof(cmd), "%s %s -c -o %s %s", snprintf(cmd, sizeof(cmd), "%s %s -o %s %s",
comp_ctx->external_asm_compiler, comp_ctx->external_asm_compiler,
comp_ctx->asm_compiler_flags ? comp_ctx->asm_compiler_flags comp_ctx->asm_compiler_flags ? comp_ctx->asm_compiler_flags
: "-O3 -c", : "-O3 -c",