Commit 81361a01 authored by Damian Kurek's avatar Damian Kurek Committed by Leo

community/alembic: use LTO

parent 45d40a4e
......@@ -2,7 +2,7 @@
# Maintainer: Damian Kurek <starfire24680@gmail.com>
pkgname=alembic
pkgver=1.7.16
pkgrel=3
pkgrel=4
pkgdesc="Open framework for storing and sharing scene data"
url="https://www.alembic.io/"
arch="all !s390x !mips64" #alembic does not support big-endian, which s390x uses
......@@ -12,6 +12,7 @@ subpackages="$pkgname-dev $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/alembic/alembic/archive/$pkgver.tar.gz"
build() {
CXXFLAGS="$CXXFLAGS -flto -fno-ipa-cp"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment