Lines 668-674
switch_profile() {
Link Here
|
668 |
|
668 |
|
669 |
# Make sure we have write access to the dirs. Do not require `root` |
669 |
# Make sure we have write access to the dirs. Do not require `root` |
670 |
# so that we work with prefix/cross/etc... setups that run as user. |
670 |
# so that we work with prefix/cross/etc... setups that run as user. |
671 |
[[ ! -w ${EROOT} ]] && die "need write access to ${EROOT}" |
671 |
[[ ! -w ${ENV_D} ]] && die "need write access to ${ENV_D}" |
672 |
|
672 |
|
673 |
if is_cross_compiler ; then |
673 |
if is_cross_compiler ; then |
674 |
ebegin "Switching cross-compiler to ${CC_COMP}" |
674 |
ebegin "Switching cross-compiler to ${CC_COMP}" |
675 |
- |
|
|