aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-08 16:18:14 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-08 16:18:14 +0100
commite082001f7c7c8ce0d20aebad4e6d6f22d3bf854c (patch)
tree7a8b9875d067feb6c96f39be4080397f8f1eef2d /configure.sh
parent72c9082c9824c7ffecc97a94083aa350956285e4 (diff)
downloadnissy-core-e082001f7c7c8ce0d20aebad4e6d6f22d3bf854c.tar.gz
nissy-core-e082001f7c7c8ce0d20aebad4e6d6f22d3bf854c.zip
Moved documentation around, improved configure.sh
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 44774cd..9a790ca 100755
--- a/configure.sh
+++ b/configure.sh
@@ -1,5 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3cc -mavx2 utils/detect-immintrin.c && detected="AVX2" && rm a.out
4TYPE=${TYPE-"$detected"}
5
3STD="-std=c99" 6STD="-std=c99"
4WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function" 7WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function"
5[ "$TYPE" = "AVX2" ] && AVX="-mavx2" 8[ "$TYPE" = "AVX2" ] && AVX="-mavx2"

Generated with cgit - Back to sebastiano.tronto.net