mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/mgba fix
This commit is contained in:
parent
5bba80fc8f
commit
1f4f150925
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable LTO
|
||||
# - build for GLES on !aarch64
|
||||
# - build for GLES, disable SDL on !aarch64
|
||||
|
||||
pkgbase=mgba
|
||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||
|
@ -25,7 +25,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd build
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="-DBUILD_GL=OFF -DBUILD_GLES2=ON"
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="-DBUILD_GL=OFF -DBUILD_GLES2=ON -DBUILD_SDL=OFF"
|
||||
cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib -DBUILD_LTO=OFF $CONFIG
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue