aboutsummaryrefslogtreecommitdiff
path: root/compile
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
parent3cce0e5621dc118b32c4143b42ced51c5328f7c7 (diff)
downloadsst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.tar.gz
sst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.zip
Switch to Intel assembly syntax
Diffstat (limited to 'compile')
-rwxr-xr-xcompile4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile b/compile
index a15605b..5345cd3 100755
--- a/compile
+++ b/compile
@@ -25,10 +25,10 @@ stdflags="-std=c2x -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
dbg=0
if [ "$dbg" = 1 ]; then
- cflags="-O0 -g3 -fsanitize-trap=undefined -DSST_DBG"
+ cflags="-O0 -g3 -masm=intel -fsanitize-trap=undefined -DSST_DBG"
ldflags="-O0 -g3"
else
- cflags="-O2 -fvisibility=hidden"
+ cflags="-O2 -fvisibility=hidden -masm=intel"
ldflags="-O2 -s"
fi