mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
sys-libs/libxcrypt: Sync with Gentoo
It's from Gentoo commit 1d04fa37e49523fc98d0992af4889de36042666a.
This commit is contained in:
parent
9f9e881684
commit
8620160854
@ -138,9 +138,11 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use headers-only; then
|
||||
# Nothing is compiled here which would affect the headers for the target.
|
||||
# So forcing CC is sane.
|
||||
# Nothing is compiled which would affect the headers, so we set
|
||||
# CC and PKG_CONFIG to ensure configure passes without defaulting
|
||||
# to the unprefixed host variants e.g. "pkg-config"
|
||||
local -x CC="$(tc-getBUILD_CC)"
|
||||
local -x PKG_CONFIG="false"
|
||||
fi
|
||||
|
||||
# Avoid possible "illegal instruction" errors with gold
|
||||
|
@ -138,9 +138,11 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use headers-only; then
|
||||
# Nothing is compiled here which would affect the headers for the target.
|
||||
# So forcing CC is sane.
|
||||
# Nothing is compiled which would affect the headers, so we set
|
||||
# CC and PKG_CONFIG to ensure configure passes without defaulting
|
||||
# to the unprefixed host variants e.g. "pkg-config"
|
||||
local -x CC="$(tc-getBUILD_CC)"
|
||||
local -x PKG_CONFIG="false"
|
||||
fi
|
||||
|
||||
# Doesn't work with LTO: bug #852917.
|
||||
|
@ -13,7 +13,7 @@
|
||||
<use>
|
||||
<flag name="compat">Build with compatibility interfaces for other crypt implementations</flag>
|
||||
<flag name="system">Install as system libcrypt.so rather than to an alternate directory (will collide with <pkg>sys-libs/glibc</pkg>'s version)</flag>
|
||||
<flag name="headers-only">Build and install only the headers.</flag>
|
||||
<flag name="headers-only">Build and install only the headers. This is mostly useful for toolchain bootstrapping, to avoid circular deps.</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">besser82/libxcrypt</remote-id>
|
||||
|
Loading…
x
Reference in New Issue
Block a user