Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-old-time


Commits:
17b4bc3f by Felix Yan at 2025-01-29T02:10:31+08:00
upgpkg: 1.1.0.4-3: fix build with ld.gold and latest LDFLAGS

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = haskell-old-time
        pkgdesc = This package provides the ability to adapt to locale 
conventions such as date and time formats.
        pkgver = 1.1.0.4
-       pkgrel = 2
+       pkgrel = 3
        url = https://hackage.haskell.org/package/old-time
        arch = x86_64
        license = BSD


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 _hkgname=old-time
 pkgname=haskell-old-time
 pkgver=1.1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="This package provides the ability to adapt to locale conventions such 
as date and time formats."
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')
@@ -16,6 +16,7 @@ 
sha512sums=('ec2386eb6276beadf0bec7fbf1f199ae514919c505308374c2935a2581deb7719a0
 build() {
     cd $_hkgname-$pkgver
 
+    LDFLAGS="${LDFLAGS/-Wl,-z,pack-relative-relocs/}" \
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
         --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-old-time/-/commit/17b4bc3f9a1670f1e4259b781d3fa9b8338d80a1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-old-time/-/commit/17b4bc3f9a1670f1e4259b781d3fa9b8338d80a1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to