From f1607809d8ba22ff64943ee8693a68fa36d8ba5f Mon Sep 17 00:00:00 2001
From: Felix Yan <felixonmars@archlinux.org>
Date: Mon, 10 Jan 2022 17:03:27 +0000
Subject: [PATCH] rebuild with ghc 9.0.2

---
 PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index f0b48ef..12756b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 _hkgname=bindings-uname
 pkgname=haskell-bindings-uname
 pkgver=0.1
-pkgrel=21
+pkgrel=22
 pkgdesc="Low-level binding to POSIX uname(3)"
 url="https://hackage.haskell.org/package/bindings-uname"
 license=("custom:PublicDomain")
@@ -19,7 +19,7 @@ build() {
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir=/usr/share/doc/$pkgname \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
-- 
GitLab