Skip to content

Commit

Permalink
Merge pull request #4791 from dnakamura/xlc_strip
Browse files Browse the repository at this point in the history
CMake: Fix bug in stripping debug info on xlc
  • Loading branch information
rwy7 authored Jan 31, 2020
2 parents dde01b7 + e720f09 commit 47147f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/platform/toolcfg/xlc.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2017, 2019 IBM Corp. and others
# Copyright (c) 2017, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -217,7 +217,7 @@ else()
TARGET "${tgt}"
POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy ${exe_file} ${dbg_file}
COMMAND "${CMAKE_STRIP}" -X32_64 -t ${dbg_file}
COMMAND "${CMAKE_STRIP}" -X32_64 -t ${exe_file}
)
endfunction()
endif()

0 comments on commit 47147f2

Please sign in to comment.