From bd165ccdf666e457bc114149d3d4869554c895af Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 25 Oct 2015 11:03:16 +0100 Subject: [PATCH] wrappers: rename cc to cross-cc to clarify it's used only in cross mode. --- common/hooks/pre-configure/02-script-wrapper.sh | 4 ++-- common/wrappers/{cc => cross-cc} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename common/wrappers/{cc => cross-cc} (100%) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index c4c6194ff8..9811c19291 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -93,13 +93,13 @@ install_cross_wrappers() { for fname in cc gcc; do sed -e "s,@BIN@,/usr/bin/$XBPS_CROSS_TRIPLET-gcc,g" \ - ${XBPS_COMMONDIR}/wrappers/cc > \ + ${XBPS_COMMONDIR}/wrappers/cross-cc > \ ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-${fname} chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-${fname} done for fname in c++ g++; do sed -e "s,@BIN@,/usr/bin/$XBPS_CROSS_TRIPLET-g++,g" \ - ${XBPS_COMMONDIR}/wrappers/cc > \ + ${XBPS_COMMONDIR}/wrappers/cross-cc > \ ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-${fname} chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-${fname} done diff --git a/common/wrappers/cc b/common/wrappers/cross-cc similarity index 100% rename from common/wrappers/cc rename to common/wrappers/cross-cc