File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -1989,12 +1989,14 @@ for host in "${ALL_HOSTS[@]}"; do
1989
1989
)
1990
1990
1991
1991
if [[ " $( uname -s) " == " Linux" ]] ; then
1992
- # On Linux build LLVM and subprojects with -gsplit-dwarf which is more
1993
- # space/time efficient than -g on that platform.
1994
- llvm_cmake_options=(
1995
- " ${llvm_cmake_options[@]} "
1996
- -DLLVM_USE_SPLIT_DWARF:BOOL=YES
1997
- )
1992
+ if [[ $( is_cmake_debuginfo_build_type " ${LLVM_BUILD_TYPE} " ) ]] ; then
1993
+ # On Linux build LLVM and subprojects with -gsplit-dwarf which is more
1994
+ # space/time efficient than -g on that platform.
1995
+ llvm_cmake_options=(
1996
+ " ${llvm_cmake_options[@]} "
1997
+ -DLLVM_USE_SPLIT_DWARF:BOOL=YES
1998
+ )
1999
+ fi
1998
2000
fi
1999
2001
2000
2002
if [[ " ${DARWIN_TOOLCHAIN_VERSION} " ]] ; then
You can’t perform that action at this time.
0 commit comments