aboutsummaryrefslogtreecommitdiff
path: root/compile.bat
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:16:08 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:16:08 +0100
commit9853d19b4de3e66138da8b3e66ccdaea356ea35b (patch)
tree290d1444941e19f837f45a4c46e6fc066ca2b8d5 /compile.bat
parent3cce0e5621dc118b32c4143b42ced51c5328f7c7 (diff)
downloadsst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.tar.gz
sst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.zip
Switch to Intel assembly syntax
Diffstat (limited to 'compile.bat')
-rw-r--r--compile.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.bat b/compile.bat
index a9ccf44..e1e2a32 100644
--- a/compile.bat
+++ b/compile.bat
@@ -26,10 +26,10 @@ set dbg=0
:: XXX: -Og would be nice but apparently a bunch of stuff still gets inlined
:: which can be somewhat annoying so -O0 it is.
if "%dbg%"=="1" (
- set cflags=-O0 -g3 -fsanitize-trap=undefined -DSST_DBG
+ set cflags=-O0 -g3 -masm=intel -fsanitize-trap=undefined -DSST_DBG
set ldflags=-O0 -g3
) else (
- set cflags=-O2
+ set cflags=-O2 -masm=intel
set ldflags=-O2
)