mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
app-crypt/libb2: Sync with Gentoo
It's from Gentoo commit 8bda632b707207572f7e2b2ba28dac4dfa8dec38.
This commit is contained in:
parent
98ef92bbed
commit
bf9a2f060d
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools multilib-minimal toolchain-funcs
|
||||
inherit autotools multilib-minimal toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
|
||||
HOMEPAGE="https://github.com/BLAKE2/libb2"
|
||||
@ -40,6 +40,8 @@ src_prepare() {
|
||||
sed -i -e 's/ == / = /' configure.ac || die
|
||||
# https://github.com/BLAKE2/libb2/pull/28
|
||||
echo 'libb2_la_LDFLAGS = -no-undefined' >> src/Makefile.am || die
|
||||
# make memset_s available
|
||||
[[ ${CHOST} == *-solaris* ]] && append-cppflags -D__STDC_WANT_LIB_EXT1__=1
|
||||
eautoreconf # upstream doesn't make releases
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user