diff options
author | Alexandre Bouvier | 2021-07-06 01:25:41 +0200 |
---|---|---|
committer | Alexandre Bouvier | 2021-07-06 01:25:41 +0200 |
commit | 0ce65a304ac5921f13715cf82ac680a9d745fc41 (patch) | |
tree | 06ba0bd0b330184f3a183db68b5dce17920b9287 | |
parent | db4025764a7c5a08946a5ce36c210ffc4949be09 (diff) | |
download | aur-0ce65a304ac5921f13715cf82ac680a9d745fc41.tar.gz |
disable lto
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 16 insertions, 11 deletions
@@ -1,22 +1,22 @@ pkgbase = libretro-flycast-git - pkgdesc = A multi-platform Sega Dreamcast emulator - pkgver = r4174.0f29d7e1 + pkgdesc = Sega Dreamcast core + pkgver = r4457.8e4fa54e pkgrel = 1 url = https://github.com/libretro/flycast - arch = x86_64 arch = i686 + arch = x86_64 groups = libretro license = GPL2 makedepends = git - depends = libretro-core-info depends = libgl + depends = libretro-core-info depends = libzip depends = xxhash depends = zlib provides = libretro-flycast conflicts = libretro-flycast + options = !lto source = libretro-flycast::git+https://github.com/libretro/flycast.git md5sums = SKIP pkgname = libretro-flycast-git - @@ -3,17 +3,18 @@ # shellcheck shell=bash disable=SC2034,SC2164 _pkgname=libretro-flycast pkgname=$_pkgname-git -pkgver=r4174.0f29d7e1 +pkgver=r4457.8e4fa54e pkgrel=1 -pkgdesc='A multi-platform Sega Dreamcast emulator' -arch=('x86_64' 'i686') +pkgdesc='Sega Dreamcast core' +arch=('i686' 'x86_64') url="https://github.com/libretro/flycast" license=('GPL2') groups=('libretro') -depends=('libretro-core-info' 'libgl' 'libzip' 'xxhash' 'zlib') +depends=('libgl' 'libretro-core-info' 'libzip' 'xxhash' 'zlib') makedepends=('git') provides=("$_pkgname") conflicts=("$_pkgname") +options=('!lto') source=("$_pkgname::git+$url.git") md5sums=('SKIP') @@ -24,12 +25,16 @@ pkgver() { prepare() { cd $_pkgname - sed -E 's/^((LDFLAGS|CFLAGS|CXXFLAGS)\s*):=/\1?=/' -i Makefile + sed -E 's/^(\s*(CFLAGS|CXXFLAGS|LDFLAGS)\s*):=/\1+=/' -i Makefile } build() { cd $_pkgname - make HAVE_OIT=1 SYSTEM_LIBZIP=1 SYSTEM_XXHASH=1 SYSTEM_ZLIB=1 + make \ + HAVE_OIT=1 \ + SYSTEM_LIBZIP=1 \ + SYSTEM_XXHASH=1 \ + SYSTEM_ZLIB=1 } package() { |