mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +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
|
fi
|
||||||
|
|
||||||
if use headers-only; then
|
if use headers-only; then
|
||||||
# Nothing is compiled here which would affect the headers for the target.
|
# Nothing is compiled which would affect the headers, so we set
|
||||||
# So forcing CC is sane.
|
# 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 CC="$(tc-getBUILD_CC)"
|
||||||
|
local -x PKG_CONFIG="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid possible "illegal instruction" errors with gold
|
# Avoid possible "illegal instruction" errors with gold
|
||||||
|
@ -138,9 +138,11 @@ src_configure() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if use headers-only; then
|
if use headers-only; then
|
||||||
# Nothing is compiled here which would affect the headers for the target.
|
# Nothing is compiled which would affect the headers, so we set
|
||||||
# So forcing CC is sane.
|
# 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 CC="$(tc-getBUILD_CC)"
|
||||||
|
local -x PKG_CONFIG="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Doesn't work with LTO: bug #852917.
|
# Doesn't work with LTO: bug #852917.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<use>
|
<use>
|
||||||
<flag name="compat">Build with compatibility interfaces for other crypt implementations</flag>
|
<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="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>
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">besser82/libxcrypt</remote-id>
|
<remote-id type="github">besser82/libxcrypt</remote-id>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user