Commit: 079736dc180156b291deb6461f63bad894050e8e
Parent: 93803cff3e12a40e8ed360420fad222c6df3b764
Author: Randy Palamar
Date: Fri, 6 Dec 2024 10:14:00 -0700
use fno-builtin to avoid broken mingw builtins
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -4,7 +4,7 @@ set -e
cflags="-march=native -std=c11 -O3 -Wall -I./external/include"
#cflags="${cflags} -fproc-stat-report"
#cflags="${cflags} -Rpass-missed=.*"
-libcflags="$cflags -fPIC -shared -Wno-unused-variable"
+libcflags="$cflags -fPIC -shared -Wno-unused-variable -fno-builtin"
ldflags="-lm"
debug=${DEBUG}