summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-05-05 00:26:04 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-05-05 00:26:04 +0100
commit32971d95964d4f18c6aaae01464d30a14ecd7b92 (patch)
tree7493c98ddb2f3f1f89d1ae121eb8c3e32e8ba553
parent387b43f065703dcf6bbd518ccc52ad67165cd56e (diff)
downloadsst-32971d95964d4f18c6aaae01464d30a14ecd7b92.tar.gz
sst-32971d95964d4f18c6aaae01464d30a14ecd7b92.zip
Fix some stale comments in build scripts
-rwxr-xr-xcompile2
-rw-r--r--compile.bat4
2 files changed, 1 insertions, 5 deletions
diff --git a/compile b/compile
index 96f7be6..2ff2ae2 100755
--- a/compile
+++ b/compile
@@ -110,7 +110,7 @@ ld
$HOSTCC -O2 -g3 $warnings $stdflags -include test/test.h -o .build/bitbuf.test test/bitbuf.test.c
.build/bitbuf.test
-# skipping this test on linux for now, since inline hooks aren't compiled in
+# XXX: skipping this test on linux for now but should enable when we can test it
#$HOSTCC -m32 -O2 -g3 -include test/test.h -o .build/hook.test test/hook.test.c
#.build/hook.test
$HOSTCC -O2 -g3 $warnings $stdflags -include test/test.h -o .build/kv.test test/kv.test.c
diff --git a/compile.bat b/compile.bat
index bef5436..543e50b 100644
--- a/compile.bat
+++ b/compile.bat
@@ -43,10 +43,6 @@ set dmodname= -DMODULE_NAME=%basename%
if "%dmodname%"==" -DMODULE_NAME=con_" set dmodname= -DMODULE_NAME=con
if "%dmodname%"==" -DMODULE_NAME=sst" set dmodname=
set objs=%objs% .build/%basename%.o
-:: note: we use a couple of C23 things now because otherwise we'd have to wait a
-:: year to get anything done. typeof=__typeof prevents pedantic warnings caused
-:: by typeof still technically being an extension, and stdbool gives us
-:: predefined bool/true/false before compilers start doing that by default
%CC% -c -flto -mno-stack-arg-probe %cflags% %warnings% %stdflags% -I.build/include ^
-D_DLL%dmodname% -o .build/%basename%.o %1 || goto :end
goto :eof