|
@@ -795,7 +795,7 @@ _get_abstract_flag_for_gcc_clang() {
|
|
string_replace "${value}" '"' '\\\"'; value="${_ret}"
|
|
string_replace "${value}" '"' '\\\"'; value="${_ret}"
|
|
flag="-D${value}"
|
|
flag="-D${value}"
|
|
;;
|
|
;;
|
|
- udefines) flag="-U${value}";;
|
|
|
|
|
|
+ undefines) flag="-U${value}";;
|
|
includedirs) flag="-I${value}";;
|
|
includedirs) flag="-I${value}";;
|
|
linkdirs) flag="-L${value}";;
|
|
linkdirs) flag="-L${value}";;
|
|
links) flag="-l${value}";;
|
|
links) flag="-l${value}";;
|
|
@@ -2056,8 +2056,8 @@ add_defines() {
|
|
fi
|
|
fi
|
|
}
|
|
}
|
|
|
|
|
|
-# add udefines in target
|
|
|
|
-add_udefines() {
|
|
|
|
|
|
+# add undefines in target
|
|
|
|
+add_undefines() {
|
|
local undefine=""
|
|
local undefine=""
|
|
if ${_loading_targets} && test_z "${_xmake_sh_option_current}"; then
|
|
if ${_loading_targets} && test_z "${_xmake_sh_option_current}"; then
|
|
local public=false
|
|
local public=false
|
|
@@ -2076,7 +2076,7 @@ add_udefines() {
|
|
done
|
|
done
|
|
fi
|
|
fi
|
|
elif ${_loading_options} && test_nz "${_xmake_sh_option_current}"; then
|
|
elif ${_loading_options} && test_nz "${_xmake_sh_option_current}"; then
|
|
- _add_option_item "${_xmake_sh_option_current}" "udefines" "${@}"
|
|
|
|
|
|
+ _add_option_item "${_xmake_sh_option_current}" "undefines" "${@}"
|
|
fi
|
|
fi
|
|
}
|
|
}
|
|
|
|
|