From be94bdd70a2058ced5f065ef00fcf710b9ff1923 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 18 Mar 2015 16:14:51 +0100 Subject: [PATCH] xbps-src/shutils/common.sh: actively unset disabled build options to override default values. --- common/xbps-src/shutils/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 718409775c..8035cb4d67 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -128,6 +128,8 @@ set_build_options() { optval=${options[$f]} if [[ $optval -eq 1 ]]; then eval export build_option_${f}=1 + else + eval unset build_option_${f} fi done