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

Alexander Rødseth arodseth at gemini.archlinux.org
Tue Aug 23 22:06:50 UTC 2022


    Date: Tuesday, August 23, 2022 @ 22:06:50
  Author: arodseth
Revision: 1275958

Use the same build and link flags as libdom

Modified:
  libcss/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 21:54:28 UTC (rev 1275957)
+++ PKGBUILD	2022-08-23 22:06:50 UTC (rev 1275958)
@@ -4,7 +4,7 @@
 
 pkgname=libcss
 pkgver=0.9.1
-pkgrel=5
+pkgrel=6
 pkgdesc='CSS parser and selection engine'
 arch=(x86_64)
 url='https://www.netsurf-browser.org/projects/libcss/'
@@ -19,7 +19,8 @@
 }
 
 build() {
-  CFLAGS+=' -ffat-lto-objects -w'
+  export CFLAGS="$CFLAGS -shared -fPIC -w"
+  export LDFLAGS="$LDFLAGS -shared -z,now"
   make -C $pkgname-$pkgver \
     COMPONENT_TYPE=lib-shared \
     INCLUDEDIR=include \



More information about the arch-commits mailing list