summaryrefslogtreecommitdiffstats
path: root/functions.sh.in
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-25 05:50:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-08-01 14:28:44 +0300
commitf459607da762d2b574583939ff2bb834d66a47f3 (patch)
treeb76d9630097e1a425b250271cde74e2fd3573535 /functions.sh.in
parentb217bbb2ea62dec889f0d275855ddf79b2bd9fb7 (diff)
downloadabuild-f459607da762d2b574583939ff2bb834d66a47f3.tar.bz2
abuild-f459607da762d2b574583939ff2bb834d66a47f3.tar.xz
abuild: use proper strip for each subpkg according to it's arch
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.sh.in b/functions.sh.in
index 6a24d21..dd57319 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -106,6 +106,7 @@ readconfig() {
[ -z "$CARCH" ] && CARCH="$(hostspec_to_arch $CHOST)"
[ -z "$CLIBC" ] && CLIBC="$(hostspec_to_libc $CHOST)"
+ [ -z "$CBUILD_ARCH" ] && CBUILD_ARCH="$(hostspec_to_arch $CBUILD)"
[ -z "$CTARGET_ARCH" ] && CTARGET_ARCH="$(hostspec_to_arch $CTARGET)"
[ -z "$CTARGET_LIBC" ] && CTARGET_LIBC="$(hostspec_to_libc $CTARGET)"