summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/android-tools/android-tools-6.0.1_p79.ebuild')
-rw-r--r--dev-util/android-tools/android-tools-6.0.1_p79.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild
index bfab989f55ef..954e418c5629 100644
--- a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild
+++ b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild
@@ -63,7 +63,9 @@ src_prepare() {
src_compile() {
chmod +x ./generate_build.rb || die
./generate_build.rb > build.sh || die
+ sed -e 's:^gcc:${CC}:' -e 's:^g++:${CXX}:' -i build.sh || die
chmod +x build.sh || die
+ tc-export CC CXX
bash -e ./build.sh || die
}