From 70305ea9d12688c8a0dbec74f07f736813adda6a Mon Sep 17 00:00:00 2001 From: rockcavera Date: Fri, 3 Jan 2020 16:13:26 -0300 Subject: [PATCH] fix #12988 fix #12988 --- compiler/extccomp.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 5db719f85297..f8b7ac150ce6 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -302,10 +302,10 @@ compiler tcc: linkLibCmd: "", # XXX: not supported yet debug: " -g ", pic: "", - asmStmtFrmt: "__asm{$n$1$n}$n", + asmStmtFrmt: "asm($1);$n", structStmtFmt: "$1 $2", - produceAsm: "", - props: {hasSwitchRange, hasComputedGoto}) + produceAsm: gnuAsmListing, + props: {hasSwitchRange, hasComputedGoto, hasGnuAsm}) # Pelles C Compiler compiler pcc: