aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386-gen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 2cb31ff..4201ac2 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -581,10 +581,12 @@ ST_FUNC void gfunc_prolog(CType *func_type)
}
#endif
+#ifndef CONFIG_USE_LIBGCC
#ifndef TCC_TARGET_PE
if (0 == strcmp(funcname, "main"))
gen_static_call(TOK___tcc_fpinit);
#endif
+#endif
}