summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-04-26 14:04:12 -0700
committerZac Medico <zmedico@gentoo.org>2017-04-26 14:05:31 -0700
commit54925c65de7b497408327f6eae03c3a35f7b82f3 (patch)
tree188d9912984caa5ccda17191788487062073c24a /dev-util/android-tools
parentgnome-extra/chrome-gnome-shell: remove old (diff)
downloadgentoo-54925c65de7b497408327f6eae03c3a35f7b82f3.tar.gz
gentoo-54925c65de7b497408327f6eae03c3a35f7b82f3.tar.bz2
gentoo-54925c65de7b497408327f6eae03c3a35f7b82f3.zip
dev-util/android-tools: respect CC and CXX variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/android-tools')
-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
}