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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Feb 27 02:37:52 UTC 2022


    Date: Sunday, February 27, 2022 @ 02:37:51
  Author: foutrelis
Revision: 438194

upgpkg: ocaml 4.13.1-3: build with -ffat-lto-objects

Modified:
  ocaml/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-26 23:12:54 UTC (rev 438193)
+++ PKGBUILD	2022-02-27 02:37:51 UTC (rev 438194)
@@ -3,7 +3,7 @@
 pkgbase='ocaml'
 pkgname=('ocaml' 'ocaml-compiler-libs')
 pkgver=4.13.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A functional language with OO extensions"
 arch=('x86_64')
 license=('LGPL2.1' 'custom: QPL-1.0')
@@ -18,6 +18,8 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  CFLAGS+=' -ffat-lto-objects'
+  CXXFLAGS+=' -ffat-lto-objects'
   ./configure --prefix /usr --mandir /usr/share/man --disable-force-safe-string
   make --debug=v world.opt
 }



More information about the arch-commits mailing list