diff options
author | Petr Hosek <phosek@chromium.org> | 2018-08-14 02:00:21 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-08-14 02:00:21 +0000 |
commit | 78ac4b1f01c3e481941c90c21e2fee0b2c7d4ef9 (patch) | |
tree | 66219ff777817ec70abfbf7ca0eacc0a9ee8afa8 /cmake | |
parent | d64c9dd5388aa27239b3ac884d87cb9e107370b5 (diff) | |
download | llvm-78ac4b1f01c3e481941c90c21e2fee0b2c7d4ef9.tar.gz |
[CMake] Split -gx strip flag into -g -x
llvm-strip doesn't handle -gx spelling, so we need to split these
as two separate flags.
Differential Revision: https://reviews.llvm.org/D50684
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 24ef5e43bc6..b68de99e1f3 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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() |