Skip to content
Snippets Groups Projects
Verified Commit 0f984c6d authored by alice's avatar alice
Browse files

community/libgit2: build with lto

parent a748f9d3
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgit2 pkgname=libgit2
pkgver=1.5.0 pkgver=1.5.0
pkgrel=0 pkgrel=1
pkgdesc="linkable library for Git" pkgdesc="linkable library for Git"
url="https://libgit2.org/" url="https://libgit2.org/"
arch="all" arch="all"
...@@ -58,6 +58,7 @@ prepare() { ...@@ -58,6 +58,7 @@ prepare() {
} }
build() { build() {
CFLAGS="$CFLAGS -flto=auto" \
cmake -B build-shared -G Ninja \ cmake -B build-shared -G Ninja \
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment