diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-04 11:06:12 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-04 11:06:12 +0100 |
| commit | 93260168ed02de2eebd456e345c25f9066bb3a2c (patch) | |
| tree | b727262a0437c0ecbd2c613186372e9f3b4eed78 /configure.sh | |
| parent | 3051b2342d67dcba2fdc0010fb26f5850964c4d9 (diff) | |
| download | nissy-core-93260168ed02de2eebd456e345c25f9066bb3a2c.tar.gz nissy-core-93260168ed02de2eebd456e345c25f9066bb3a2c.zip | |
Makefile changes
Diffstat (limited to 'configure.sh')
| -rwxr-xr-x | configure.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.sh b/configure.sh deleted file mode 100755 index 17673fc..0000000 --- a/configure.sh +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | CFLAGS="-std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3" | ||
| 4 | DBGFLAGS="-DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -g3 -fsanitize=address -fsanitize=undefined" | ||
| 5 | |||
| 6 | if [ "$TYPE" = "AVX2" ]; then | ||
| 7 | CFLAGS="$CFLAGS -mavx2" | ||
| 8 | DBGFLAGS="$DBGFLAGS -mavx2" | ||
| 9 | fi | ||
| 10 | |||
| 11 | { | ||
| 12 | echo "CUBETYPE = CUBE_$TYPE"; | ||
| 13 | echo ""; | ||
| 14 | echo "CFLAGS = $CFLAGS"; | ||
| 15 | echo "DBGFLAGS = $DBGFLAGS"; | ||
| 16 | echo ""; | ||
| 17 | echo "CC = cc" | ||
| 18 | } > config.mk | ||
