mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
sys-libs/zlib: Sync with Gentoo
It's from Gentoo commit 4d6f1784d518ffbb8d753f25ef1592eb11a4db57.
This commit is contained in:
parent
77b1db0a27
commit
7970eac8d1
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -6,7 +6,7 @@ EAPI=8
|
|||||||
# Worth keeping an eye on 'develop' branch upstream for possible backports.
|
# Worth keeping an eye on 'develop' branch upstream for possible backports.
|
||||||
AUTOTOOLS_AUTO_DEPEND="no"
|
AUTOTOOLS_AUTO_DEPEND="no"
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/madler.asc
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/madler.asc
|
||||||
inherit autotools edo multilib-minimal flag-o-matic verify-sig
|
inherit autotools dot-a edo multilib-minimal flag-o-matic verify-sig
|
||||||
|
|
||||||
DESCRIPTION="Standard (de)compression library"
|
DESCRIPTION="Standard (de)compression library"
|
||||||
HOMEPAGE="https://zlib.net/"
|
HOMEPAGE="https://zlib.net/"
|
||||||
@ -68,6 +68,11 @@ src_prepare() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use static-libs && lto-guarantee-fat
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
# We pass manually instead of relying on the configure script/makefile
|
# We pass manually instead of relying on the configure script/makefile
|
||||||
# because it would pass it even for older binutils.
|
# because it would pass it even for older binutils.
|
||||||
@ -164,6 +169,8 @@ multilib_src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
|
strip-lto-bytecode
|
||||||
|
|
||||||
dodoc FAQ README ChangeLog doc/*.txt
|
dodoc FAQ README ChangeLog doc/*.txt
|
||||||
|
|
||||||
if use minizip ; then
|
if use minizip ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user