init darwin support

This commit is contained in:
2025-08-21 17:01:13 -05:00
parent cb78470af1
commit bd5d5aaec9
4 changed files with 66 additions and 12 deletions

View File

@@ -41,10 +41,9 @@ check_compile_opts_override() {
declare -n optVal="${opt}"
# use given value if not overridden
if [[ -n ${optVal} && ${optVal} != "${defOptVal}" ]]; then
echo_warn "setting given value for ${opt}=${optVal[*]}"
echo_info "setting given value for ${opt}=${optVal}"
declare -g "${opt}=${optVal}"
else
echo_info "setting default value for ${opt}=${defOptVal[*]}"
declare -g "${opt}=${defOptVal}"
fi
done