mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
Merge pull request #1707 from marineam/glibc-rpcgen
glibc: ensure cross-rpcgen is compiled during the compile phase
This commit is contained in:
commit
4c467290b1
@ -14,9 +14,21 @@ toolchain-glibc_src_compile() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## COREOS: fix compilation of cross-rpcgen during compiler bootstrap
|
||||||
|
toolchain-glibc_headers_compile() {
|
||||||
|
[[ ${EAPI:-0} == [01] ]] && toolchain-glibc_headers_configure
|
||||||
|
|
||||||
|
tc-export_build_env
|
||||||
|
local builddir=$(builddir "headers")
|
||||||
|
cd "${builddir}"
|
||||||
|
emake -C "${S}/sunrpc" subdir=sunrpc objdir="${builddir}" \
|
||||||
|
"${builddir}/sunrpc/cross-rpcgen" || die "make cross-rpcgen failed"
|
||||||
|
}
|
||||||
|
|
||||||
eblit-glibc-src_compile() {
|
eblit-glibc-src_compile() {
|
||||||
if just_headers ; then
|
if just_headers ; then
|
||||||
[[ ${EAPI:-0} == [01] ]] && toolchain-glibc_headers_configure
|
export ABI=default
|
||||||
|
toolchain-glibc_headers_compile
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user