mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/mgba: fix
This commit is contained in:
parent
307f5dfe42
commit
78cd73f750
1 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable LTO
|
||||
# - build for GLES, disable SDL on !aarch64
|
||||
|
||||
pkgbase=mgba
|
||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||
|
@ -25,9 +24,8 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd build
|
||||
[[ $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
|
||||
-DCMAKE_INSTALL_LIBDIR=lib -DBUILD_LTO=OFF
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue