diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-07-17 18:48:09 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-07-17 18:48:09 -0700 |
commit | 9a7b5a94874c606293e9eed5c2f725ca2051514b (patch) | |
tree | 1a036935bb33a79e1d4adf2ce4a4521a460e2d3f | |
parent | Rebuild for glibc (diff) | |
download | dosbox-9a7b5a94874c606293e9eed5c2f725ca2051514b.tar.xz |
Switch to modern lto syntax.
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,6 +14,7 @@ pkgdesc='Emulator with builtin DOS for running DOS Games' arch=('x86_64') url='http://dosbox.sourceforge.net/' license=('GPL') +optiions=('lto') depends=('sdl_net' 'zlib' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'glu') makedepends=('mesa-libgl' 'gendesk' 'patch') source=(https://downloads.sourceforge.net/$pkgname/$pkgname-0.74-3.tar.gz @@ -28,8 +29,8 @@ prepare() { build() { cd "${srcdir}/$pkgname-0.74-3" - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE" export LDFLAGS="$LDFLAGS,-pie" ./configure --prefix=/usr --sysconfdir=/etc/dosbox make |