diff options
author | Xiretza | 2022-01-09 12:16:42 +0100 |
---|---|---|
committer | Xiretza | 2022-05-22 13:02:20 +0200 |
commit | 0b8a55c512751c193412691b5b2a5c25d8304ab7 (patch) | |
tree | 1bbdc3a60ccab1be4eb44503144d3bfa40247238 | |
parent | b09ccdd23b695abd83413274cc35d8d8343fec99 (diff) | |
download | aur-0b8a55c512751c193412691b5b2a5c25d8304ab7.tar.gz |
Don't force IPO
makepkg passes -flto if options=(lto) is specified - if it's not, don't
force it on the user.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ _ARCHS=('generic' 'ice40' 'ecp5' 'nexus' 'gowin') pkgname=nextpnr-git -pkgver=r3957.fdeb8680 +pkgver=r3962.3266c51d pkgrel=1 pkgdesc='Portable FPGA place and route tool' arch=('i686' 'x86_64') @@ -60,9 +60,10 @@ build() { -DARCH=$(IFS=\;; echo "${_ARCHS[*]}") \ "${_CONFIG[@]}" \ -DBUILD_TESTS=ON \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DUSE_OPENMP=ON \ + -DUSE_IPO=OFF \ -DBUILD_GUI=ON \ .. make @@ -78,3 +79,5 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim: set et ts=2: |