Skip to content

Commit 37840db

Browse files
committed
cmark c flags should derive from cmark build type
1 parent 6f25f76 commit 37840db

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
@@ -1229,7 +1229,7 @@ function llvm_c_flags() {
12291229

12301230
function cmark_c_flags() {
12311231
echo -n " $(common_cross_c_flags $1)"
1232-
if [[ $(is_cmake_release_build_type "${LLVM_BUILD_TYPE}") ]] ; then
1232+
if [[ $(is_cmake_release_build_type "${CMARK_BUILD_TYPE}") ]] ; then
12331233
echo -n " -fno-stack-protector"
12341234
fi
12351235
}

0 commit comments

Comments
 (0)