aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-04 22:07:15 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-04 22:07:15 +0100
commit9c1659d91a331735f88c127aa236a59153e23dfc (patch)
tree2dd843824526875fa5681e5e62540dc650d36763 /configure.sh
parentfc8bdd6c8ad23868dc3722104eb710f01da03ef9 (diff)
downloadnissy-core-9c1659d91a331735f88c127aa236a59153e23dfc.tar.gz
nissy-core-9c1659d91a331735f88c127aa236a59153e23dfc.zip
Reverted some Makefile changes, cleanup
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.sh b/configure.sh
index 17673fc..74df81e 100755
--- a/configure.sh
+++ b/configure.sh
@@ -1,12 +1,12 @@
1#!/bin/sh 1#!/bin/sh
2 2
3CFLAGS="-std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3" 3STD="-std=c99"
4DBGFLAGS="-DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -g3 -fsanitize=address -fsanitize=undefined" 4WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter"
5[ "$TYPE" = "AVX2" ] && AVX="-mavx2"
6[ "$(uname)" = "Linux" ] && SAN="-fsanitize=address -fsanitize=undefined"
5 7
6if [ "$TYPE" = "AVX2" ]; then 8CFLAGS="$STD $WFLAGS $AVX -O3"
7 CFLAGS="$CFLAGS -mavx2" 9DBGFLAGS="$STD $WFLAGS $AVX -g3 -DDEBUG"
8 DBGFLAGS="$DBGFLAGS -mavx2"
9fi
10 10
11{ 11{
12echo "CUBETYPE = CUBE_$TYPE"; 12echo "CUBETYPE = CUBE_$TYPE";

Generated with cgit - Back to sebastiano.tronto.net