aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 6ece431..0a968db 100755
--- a/build
+++ b/build
@@ -119,6 +119,7 @@ parsesanitize() {
119 119
120# Build flags 120# Build flags
121CFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L -pthread" 121CFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L -pthread"
122PYCFLAGS="-std=c11 -fPIC -pthread"
122[ "$ARCH" = "AVX2" ] && CFLAGS="$CFLAGS -mavx2" 123[ "$ARCH" = "AVX2" ] && CFLAGS="$CFLAGS -mavx2"
123WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function" 124WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function"
124OFLAGS="$OPTIMIZE" 125OFLAGS="$OPTIMIZE"
@@ -261,7 +262,7 @@ build_python() {
261 exit 1 262 exit 1
262 fi 263 fi
263 build_nissy || exit 1 264 build_nissy || exit 1
264 run $CC $CFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \ 265 run $CC $PYCFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \
265 -o nissy_python_module.so nissy.o python/nissy_module.c 266 -o nissy_python_module.so nissy.o python/nissy_module.c
266} 267}
267 268

Generated with cgit - Back to sebastiano.tronto.net