[arch-commits] Commit in difftastic/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Apr 30 11:29:13 UTC 2022


    Date: Saturday, April 30, 2022 @ 11:29:13
  Author: alerque
Revision: 1191908

upgpkg: difftastic 0.28.0-2; enable LTO

Modified:
  difftastic/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 10:38:36 UTC (rev 1191907)
+++ PKGBUILD	2022-04-30 11:29:13 UTC (rev 1191908)
@@ -4,7 +4,8 @@
 
 pkgname=difftastic
 pkgver=0.28.0
-pkgrel=1
+_commit=4c7ab4809181505abe9a963491268ecc1b2e2648
+pkgrel=2
 pkgdesc='An experimental diff tool that compares files based on their syntax'
 arch=('x86_64')
 url='https://difftastic.wilfred.me.uk'
@@ -11,8 +12,6 @@
 license=('MIT')
 depends=('gcc-libs')
 makedepends=('git' 'rust' 'mdbook')
-options=('!lto')
-_commit='4c7ab4809181505abe9a963491268ecc1b2e2648'
 source=("$pkgname::git+https://github.com/Wilfred/difftastic.git#commit=$_commit")
 b2sums=('SKIP')
 
@@ -31,6 +30,7 @@
 
 build() {
   cd "$pkgname"
+  export CFLAGS+=" -ffat-lto-objects"
 
   # binary
   cargo build --frozen --release --all-features



More information about the arch-commits mailing list