Skip to content

Commit b3e3dbd

Browse files
committed
[lto] Fix thinko where we were always building llvm with -gline-tables-only.
This did not happen with Swift, only with LLVM.
1 parent 9e9acd2 commit b3e3dbd

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
@@ -1240,7 +1240,7 @@ function llvm_c_flags() {
12401240
if [[ $(is_cmake_release_build_type "${LLVM_BUILD_TYPE}") ]] ; then
12411241
echo -n " -fno-stack-protector"
12421242
fi
1243-
if [[ $(true_false "${LLVM_ENABLE_LTO}") ]] ; then
1243+
if [[ $(true_false "${LLVM_ENABLE_LTO}") = "TRUE" ]] ; then
12441244
echo -n " -gline-tables-only"
12451245
fi
12461246
}

0 commit comments

Comments
 (0)