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

Frederik Schwan freswa at gemini.archlinux.org
Mon Jan 24 23:36:22 UTC 2022


    Date: Monday, January 24, 2022 @ 23:36:22
  Author: freswa
Revision: 1114900

fix lto strip by adding -ffat-lto-objects to CFLAGS

Modified:
  iverilog/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-24 23:34:58 UTC (rev 1114899)
+++ PKGBUILD	2022-01-24 23:36:22 UTC (rev 1114900)
@@ -4,10 +4,10 @@
 
 pkgname=iverilog
 pkgver=11.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Icarus Verilog compiler and simulation tool'
 arch=('x86_64')
-url='http://iverilog.icarus.com/'
+url='https://github.com/steveicarus/iverilog'
 license=('GPL')
 depends=('zlib' 'bzip2')
 makedepends=('gperf' 'git')
@@ -25,9 +25,9 @@
 build() {
   cd "$pkgname"
 
-  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  CFLAGS+=' -ffat-lto-objects -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
 
-  ./configure --prefix=/usr
+  CXXCPP=/usr/bin/cpp ./configure --prefix=/usr
   make
 }
 



More information about the arch-commits mailing list