diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-23 01:23:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-23 01:23:10 +0100 |
commit | 7828eef5de9e45f50282e2b1eaf348f1ac7af477 (patch) | |
tree | ea872a4f1afc4b28699120de310c5d87b75ea5d0 /app-emulation/uxn/files | |
parent | cd18653acd5ce929bb0ec77dde842439db6f060c (diff) |
gentoo auto-resync : 23:06:2023 - 01:23:10
Diffstat (limited to 'app-emulation/uxn/files')
-rw-r--r-- | app-emulation/uxn/files/uxn-0_p20230609-build.sh.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emulation/uxn/files/uxn-0_p20230609-build.sh.patch b/app-emulation/uxn/files/uxn-0_p20230609-build.sh.patch new file mode 100644 index 000000000000..a8b75458da43 --- /dev/null +++ b/app-emulation/uxn/files/uxn-0_p20230609-build.sh.patch @@ -0,0 +1,20 @@ +--- a/build.sh ++++ b/build.sh +@@ -52,7 +52,7 @@ fi + + mkdir -p bin + CC="${CC:-cc}" +-CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}" ++CFLAGS="${CFLAGS} --std=c89 " + case "$(uname -s 2>/dev/null)" in + MSYS_NT*|MINGW*) # MSYS2 on Windows + FILE_LDFLAGS="-liberty" +@@ -77,7 +77,7 @@ then + echo "[debug]" + CFLAGS="${CFLAGS} -DDEBUG -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined" + else +- CFLAGS="${CFLAGS} -DNDEBUG -O2 -g0 -s" ++ CFLAGS="${CFLAGS} -DNDEBUG " + fi + + ${CC} ${CFLAGS} src/uxnasm.c -o bin/uxnasm |