aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.sh b/configure.sh
index d5586db..76d02de 100755
--- a/configure.sh
+++ b/configure.sh
@@ -21,9 +21,10 @@ WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function"
21[ -n "$(detectsan address)" ] && ADDR="-fsanitize=address" 21[ -n "$(detectsan address)" ] && ADDR="-fsanitize=address"
22[ -n "$(detectsan undefined)" ] && UNDEF="-fsanitize=undefined" 22[ -n "$(detectsan undefined)" ] && UNDEF="-fsanitize=undefined"
23SAN="$ADDR $UNDEF" 23SAN="$ADDR $UNDEF"
24LIBS="-lpthread"
24 25
25CFLAGS="$STD $WFLAGS $AVX -O3" 26CFLAGS="$STD $LIBS $WFLAGS $AVX -O3"
26DBGFLAGS="$STD $WFLAGS $SAN $AVX -g3 -DDEBUG" 27DBGFLAGS="$STD $LIBS $WFLAGS $SAN $AVX -g3 -DDEBUG"
27 28
28echo "Cube type: CUBE_$TYPE" 29echo "Cube type: CUBE_$TYPE"
29echo "Compiler: ${CC:-cc}" 30echo "Compiler: ${CC:-cc}"

Generated with cgit - Back to sebastiano.tronto.net