File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ class BuildScriptInvocation(object):
531
531
# just invoke cmake from build-script directly rather than futzing
532
532
# with build-script-impl. This makes even more sense since there
533
533
# really isn't a security issue here.
534
- if len ( cmake_opts ) > 0 :
534
+ if cmake_opts :
535
535
impl_args += [
536
536
"--%s-cmake-options=%s" %
537
537
(product_name , ' ' .join (cmake_opts ))
Original file line number Diff line number Diff line change @@ -2352,8 +2352,6 @@ for host in "${ALL_HOSTS[@]}"; do
2352
2352
-DSWIFT_${SWIFT_HOST_VARIANT_SDK} _${SWIFT_HOST_VARIANT_ARCH} _ICU_UC_INCLUDE:STRING=" ${ICU_TMPINSTALL} /include"
2353
2353
-DSWIFT_${SWIFT_HOST_VARIANT_SDK} _${SWIFT_HOST_VARIANT_ARCH} _ICU_I18N_INCLUDE:STRING=" ${ICU_TMPINSTALL} /include"
2354
2354
-DSWIFT_${SWIFT_HOST_VARIANT_SDK} _${SWIFT_HOST_VARIANT_ARCH} _ICU_STATICLIB:BOOL=TRUE
2355
- -DICU_UC_LIBDIR:PATH=" ${LIBICU_BUILD_DIR} /lib"
2356
- -DICU_I18N_LIBDIR:PATH=" ${LIBICU_BUILD_DIR} /lib"
2357
2355
)
2358
2356
fi
2359
2357
You can’t perform that action at this time.
0 commit comments