mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 20:26:44 +02:00
app-admin/oslogin: Fix eclasses and export CC/CXX
eutils is not supported by the latest EAPIs, but COS hasn't noticed. We also need CC/CXX exported to use the correct tools. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
c9821533b0
commit
90faf6ab48
@ -4,7 +4,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils pam flag-o-matic
|
||||
# Flatcar: remove eutils add toolchain-funcs
|
||||
inherit pam flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Google Compute Engine OS Login libraries, applications and configurations."
|
||||
HOMEPAGE="https://github.com/GoogleCloudPlatform/guest-oslogin"
|
||||
@ -32,6 +33,8 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
# Flatcar: export compile env
|
||||
tc-export CC CXX
|
||||
emake JSON_INCLUDE_PATH="${SYSROOT}/usr/include/json-c" VERSION="${PV}"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user