summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/dev_packages.group1
-rw-r--r--subr/build_init.subr9
2 files changed, 9 insertions, 1 deletions
diff --git a/groups/dev_packages.group b/groups/dev_packages.group
index 9c5e9edc..def41522 100644
--- a/groups/dev_packages.group
+++ b/groups/dev_packages.group
@@ -1,6 +1,7 @@
#
# Build group dev_packages
#
+GROUP_AUTO=0;
DEV_PACKAGES_CFLAGS_CONFIGURE="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}";
DEV_PACKAGES_CONFIG_CACHE_LOCAL="${CONFIG_CACHE_GNULIB}";
DEV_PACKAGES_CONFIGURE_ARGS="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET}";
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 321678a5..27af80da 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -212,7 +212,14 @@ buildp_init_vars() {
else
_fname="${_fname##*/}"; _fname="${_fname%.group}"; _target="${_fname#*.}";
fi;
- _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ if [ -n "${GROUP_AUTO}" ]; then
+ if [ "${GROUP_AUTO:-0}" -ne 0 ]; then
+ _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ fi;
+ unset GROUP_AUTO;
+ else
+ _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ fi;
done;
_default_build_groups="$(rtl_uniq "${_default_build_groups}")";
if ! rtl_lmatch "${ARG_DIST}" "rpm" ","; then