summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/toybox')
-rw-r--r--sys-apps/toybox/toybox-0.8.1.ebuild4
-rw-r--r--sys-apps/toybox/toybox-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/toybox/toybox-0.8.1.ebuild b/sys-apps/toybox/toybox-0.8.1.ebuild
index 564d2c54b23c..d334e3570448 100644
--- a/sys-apps/toybox/toybox-0.8.1.ebuild
+++ b/sys-apps/toybox/toybox-0.8.1.ebuild
@@ -30,6 +30,8 @@ src_prepare() {
}
src_configure() {
+ tc-export CC STRIP
+ export HOSTCC="$(tc-getBUILD_CC)"
if [ -f .config ]; then
yes "" | emake -j1 oldconfig > /dev/null
return 0
@@ -40,8 +42,6 @@ src_configure() {
}
src_compile() {
- tc-export CC STRIP
- export HOSTCC=$(tc-getBUILD_CC)
unset CROSS_COMPILE
export CPUS=$(makeopts_jobs)
emake V=1
diff --git a/sys-apps/toybox/toybox-9999.ebuild b/sys-apps/toybox/toybox-9999.ebuild
index 722524f40455..68a184db8ebe 100644
--- a/sys-apps/toybox/toybox-9999.ebuild
+++ b/sys-apps/toybox/toybox-9999.ebuild
@@ -30,6 +30,8 @@ src_prepare() {
}
src_configure() {
+ tc-export CC STRIP
+ export HOSTCC="$(tc-getBUILD_CC)"
if [ -f .config ]; then
yes "" | emake -j1 oldconfig > /dev/null
return 0
@@ -40,8 +42,6 @@ src_configure() {
}
src_compile() {
- tc-export CC STRIP
- export HOSTCC=$(tc-getBUILD_CC)
unset CROSS_COMPILE
export CPUS=$(makeopts_jobs)
emake V=1