Skip to content

Commit 6b9c570

Browse files
committed
build: correct the handling for the static variants
The static variants should use the same flags as the dynamic variants. We missed the name conversion in the variable computation causing the static and dynamic builds to diverge.
1 parent de9ffcb commit 6b9c570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ for host in "${ALL_HOSTS[@]}"; do
14161416
module_cache="${build_dir}/module-cache"
14171417

14181418
# Add any specific cmake options specified by build-script
1419-
product_cmake_options_name=$(to_varname "${product}")_CMAKE_OPTIONS
1419+
product_cmake_options_name=$(to_varname "${product/_static}")_CMAKE_OPTIONS
14201420
product_cmake_options=(${!product_cmake_options_name}) # convert to array
14211421
cmake_options+=("${product_cmake_options[@]}")
14221422

0 commit comments

Comments
 (0)