summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-16 21:48:41 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-16 21:50:01 +0200
commit5dc5013c0447f3062ddfee2379a0eb73ce35c116 (patch)
tree1894cd281ee5c4039940d49f9f8f7a147b5529f9 /app-emulation/uxn/files/uxn-build.sh.patch
parentgui-libs/wlroots: Stabilize 0.15.1 amd64, #865415 (diff)
downloadgentoo-5dc5013c0447f3062ddfee2379a0eb73ce35c116.tar.gz
gentoo-5dc5013c0447f3062ddfee2379a0eb73ce35c116.tar.bz2
gentoo-5dc5013c0447f3062ddfee2379a0eb73ce35c116.zip
app-emulation/uxn: new package; add version 0_p20220815 and live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
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
+