diff options
-rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 24ef5e43bc6..b68de99e1f3 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -1566,7 +1566,7 @@ function(llvm_externalize_debuginfo name) endif() set(strip_command COMMAND ${CMAKE_STRIP} -Sxl $<TARGET_FILE:${name}>) else() - set(strip_command COMMAND ${CMAKE_STRIP} -gx $<TARGET_FILE:${name}>) + set(strip_command COMMAND ${CMAKE_STRIP} -g -x $<TARGET_FILE:${name}>) endif() endif() |