File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,14 @@ function(_add_variant_c_compile_link_flags)
89
89
"-F" "${SWIFT_SDK_${CFLAGS_SDK} _PATH}/../../../Developer/Library/Frameworks"
90
90
"-m${SWIFT_SDK_${CFLAGS_SDK} _VERSION_MIN_NAME}-version-min=${DEPLOYMENT_VERSION} " )
91
91
92
- if (analyze_code_coverage )
92
+ if (CFLAGS_ANALYZE_CODE_COVERAGE )
93
93
list (APPEND result "-fprofile-instr-generate"
94
94
"-fcoverage-mapping" )
95
95
endif ()
96
+ endif ()
96
97
97
- if (enable_lto )
98
- list (APPEND result "-flto" )
99
- endif ()
98
+ if (CFLAGS_ENABLE_LTO )
99
+ list (APPEND result "-flto" )
100
100
endif ()
101
101
102
102
set ("${CFLAGS_RESULT_VAR_NAME} " "${result} " PARENT_SCOPE )
@@ -117,7 +117,7 @@ function(_add_variant_c_compile_flags)
117
117
ARCH "${CFLAGS_ARCH} "
118
118
BUILD_TYPE "${CFLAGS_BUILD_TYPE} "
119
119
ENABLE_ASSERTIONS "${CFLAGS_ENABLE_ASSERTIONS} "
120
- SWIFT_ENABLE_LTO "${SWIFT_ENABLE_LTO} "
120
+ ENABLE_LTO "${SWIFT_ENABLE_LTO} "
121
121
ANALYZE_CODE_COVERAGE FALSE
122
122
DEPLOYMENT_VERSION_IOS "${CFLAGS_DEPLOYMENT_VERSION_IOS} "
123
123
RESULT_VAR_NAME result )
You can’t perform that action at this time.
0 commit comments