summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/uxn/files/uxn-build.sh.patch')
-rw-r--r--app-emulation/uxn/files/uxn-build.sh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/uxn/files/uxn-build.sh.patch b/app-emulation/uxn/files/uxn-build.sh.patch
new file mode 100644
index 000000000000..a99ed23d737e
--- /dev/null
+++ b/app-emulation/uxn/files/uxn-build.sh.patch
@@ -0,0 +1,11 @@
+--- a/build.sh
++++ b/build.sh
+@@ -94,7 +94,7 @@ then
+ CFLAGS="${CFLAGS} -DDEBUG -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined"
+ CORE='src/uxn.c'
+ else
+- CFLAGS="${CFLAGS} -DNDEBUG -Os -g0 -s"
++ CFLAGS="${CFLAGS} -DNDEBUG"
+ CORE='src/uxn.c'
+ fi
+