[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 19:01:18 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL339639: [CMake] Split -gx strip flag into -g -x (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D50684?vs=160504&id=160506#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50684

Files:
  llvm/trunk/cmake/modules/AddLLVM.cmake


Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/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.160506.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/3d340d93/attachment.bin>


More information about the llvm-commits mailing list