[PATCH] D50684: [CMake] Split -gx strip flag into -g -x
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 18:58:59 PDT 2018
phosek created this revision.
phosek added a reviewer: jakehehrlich.
Herald added subscribers: llvm-commits, mgorny.
llvm-strip doesn't handle -gx spelling, so we need to split these
as two separate flags.
Repository:
rL LLVM
https://reviews.llvm.org/D50684
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1566,7 +1566,7 @@
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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50684.160504.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/c51972a1/attachment.bin>
More information about the llvm-commits
mailing list