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:
Jeremi Piotrowski 2024-04-02 10:56:59 +00:00
parent c9821533b0
commit 90faf6ab48

View File

@ -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}"
}