mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-08 01:07:30 -08:00
Closes: https://bugs.gentoo.org/926331 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
14 lines
549 B
Diff
14 lines
549 B
Diff
--- a/buildSrc/linux.gradle
|
|
+++ b/buildSrc/linux.gradle
|
|
@@ -214,8 +214,8 @@ setupTools("linux_freetype_tools",
|
|
}
|
|
)
|
|
|
|
-def compiler = IS_COMPILE_PARFAIT ? "parfait-gcc" : "${toolchainDir}gcc";
|
|
-def linker = IS_STATIC_BUILD ? "ar" : IS_COMPILE_PARFAIT ? "parfait-g++" : "${toolchainDir}g++";
|
|
+def compiler = IS_COMPILE_PARFAIT ? "parfait-gcc" : System.getenv("CC");
|
|
+def linker = IS_STATIC_BUILD ? "ar" : IS_COMPILE_PARFAIT ? "parfait-g++" : System.getenv("CXX");
|
|
|
|
LINUX.glass = [:]
|
|
LINUX.glass.variants = ["glass", "glassgtk2", "glassgtk3"]
|