wrappers: rename cc to cross-cc to clarify it's used only in cross mode.
This commit is contained in:
parent
1b0a232b20
commit
bd165ccdf6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue