Revert "xbps-src: Set the MAKEFLAGS environment variable"
This reverts commit d803775b3d
.
This breaks all pkgs that exec make directly without ${makejobs}
(which should be built as -j1) and makes installation also parallel,
which we do not want.
We'll probably resurrect this in a certain future.
This commit is contained in:
parent
cf4b785325
commit
8cd7f1a901
1 changed files with 1 additions and 5 deletions
|
@ -217,7 +217,7 @@ setup_pkg() {
|
|||
[ -z "$pkg" ] && return 1
|
||||
|
||||
# Start with a sane environment
|
||||
unset -v MAKEFLAGS PKG_BUILD_OPTIONS XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_CPPFLAGS XBPS_CROSS_LDFLAGS
|
||||
unset -v PKG_BUILD_OPTIONS XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_CPPFLAGS XBPS_CROSS_LDFLAGS
|
||||
unset -v subpackages run_depends build_depends host_build_depends
|
||||
|
||||
unset_package_funcs
|
||||
|
@ -377,10 +377,6 @@ setup_pkg() {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${makejobs}" ]; then
|
||||
export MAKEFLAGS="${makejobs}"
|
||||
fi
|
||||
|
||||
export CFLAGS="$XBPS_TARGET_CFLAGS $XBPS_CFLAGS $XBPS_CROSS_CFLAGS $CFLAGS $dbgflags"
|
||||
export CXXFLAGS="$XBPS_TARGET_CXXFLAGS $XBPS_CXXFLAGS $XBPS_CROSS_CXXFLAGS $CXXFLAGS $dbgflags"
|
||||
export CPPFLAGS="$XBPS_TARGET_CPPFLAGS $XBPS_CPPFLAGS $XBPS_CROSS_CPPFLAGS $CPPFLAGS"
|
||||
|
|
Loading…
Reference in a new issue