xbps-src: remove cross-compiler stuff, won't work.
--HG-- extra : convert_revision : b1cb584d15bceca0b84adfc5f688facf6fe978a2
This commit is contained in:
@@ -47,13 +47,6 @@ build_src_phase()
|
||||
cd $wrksrc || exit 1
|
||||
|
||||
[ -n "$revision" ] && pkg="${pkg}_${revision}"
|
||||
|
||||
# cross compilation vars.
|
||||
if [ -n "$cross_compiler" ]; then
|
||||
. $XBPS_SHUTILSDIR/cross-compilation.sh
|
||||
cross_compile_setvars
|
||||
fi
|
||||
|
||||
[ -z "$make_cmd" ] && make_cmd=/usr/bin/make
|
||||
|
||||
# Run pre_build func.
|
||||
@@ -78,9 +71,5 @@ build_src_phase()
|
||||
|
||||
unset makejobs
|
||||
|
||||
# unset cross compiler vars.
|
||||
[ -n "$cross_compiler" ] && cross_compile_unsetvars
|
||||
unset_build_vars
|
||||
|
||||
touch -f $XBPS_BUILD_DONE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user