[arch-commits] Commit in io/trunk (PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Sun Jan 30 10:16:19 UTC 2022
Date: Sunday, January 30, 2022 @ 10:16:19
Author: arodseth
Revision: 1120202
upgpkg: io 2017.09.06-5
Modified:
io/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-30 09:43:23 UTC (rev 1120201)
+++ PKGBUILD 2022-01-30 10:16:19 UTC (rev 1120202)
@@ -5,7 +5,7 @@
pkgname=io
pkgver=2017.09.06
-pkgrel=4
+pkgrel=5
pkgdesc='IO programming language'
arch=(x86_64)
url='https://iolanguage.com/'
@@ -25,13 +25,16 @@
}
build() {
- cmake \
+ CFLAGS+=' -ffat-lto-objects'
+ cmake \
-B build \
- -S $pkgname \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
- -D CMAKE_SKIP_RPATH=1
- # ninja requires "-w dupbuild=warn" and/or -w "phonycycle=warn" and still gives an error
+ -D CMAKE_SKIP_RPATH=1 \
+ -S $pkgname
+
+ # make is used instead of ninja, because ninja results in errors,
+ # even with '-w dupbuild=warn' and/or -w 'phonycycle=warn'
make -C build
}
More information about the arch-commits
mailing list