diff options
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -12,11 +12,12 @@ pkgname=lgogdownloader pkgver=3.9 -pkgrel=1 +pkgrel=1.2 pkgdesc="Open source downloader for GOG.com games, uses the GOG.com API" url="https://github.com/Sude-/lgogdownloader" arch=(x86_64 i686 pentium4) license=('custom:WTFPL') +options=(lto) depends=('boost-libs' 'curl' 'htmlcxx' 'jsoncpp' 'rhash' 'tinyxml2') makedepends=('cmake' 'boost' 'help2man') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Sude-/lgogdownloader/archive/v${pkgver}.tar.gz) @@ -28,8 +29,8 @@ prepare() { build() { - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE" export LDFLAGS="$LDFLAGS,-pie" cd $srcdir/${pkgname}-${pkgver}/build |