summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2023-05-07 12:52:53 +0200
committerFrederic Bezies2023-05-07 12:52:53 +0200
commit7f68e4715f6eaea3fd4425e5e6272167b4f3e1cf (patch)
tree7f77fab5ec8a2e5979fb5474d2c57b8e1cafc6bf /PKGBUILD
parent52cfee48e9e44d7ebedfb70fc519760b286a51be (diff)
downloadaur-7f68e4715f6eaea3fd4425e5e6272167b4f3e1cf.tar.gz
May 7th, 2023 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e85b9869beda..2bec4ce86f49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Mantainer: Franco Tortoriello
pkgname=dosbox-x-sdl2-git
-pkgver=2023.05.01.r24.gc25eee850
+pkgver=2023.05.01.r55.gac3c072d5
pkgrel=1
epoch=3
pkgdesc="x86 emulator with builtin DOS, with patches with more features - sdl2 git version"
@@ -22,6 +22,13 @@ pkgver() {
build() {
cd "$srcdir/dosbox-x"
+
+ # Workaround for bug: https://github.com/joncampbell123/dosbox-x/issues/4237
+ CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
+ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Wno-error=format-security \
+ -fstack-clash-protection -fcf-protection"
+ CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
+
./autogen.sh
./configure --enable-debug --enable-avcodec --prefix=/usr --enable-sdl2
make -j$(nproc)