diff options
author | Geunsik Lim <geunsik.lim@samsung.com> | 2016-03-26 21:39:14 +0900 |
---|---|---|
committer | Geunsik Lim <geunsik.lim@samsung.com> | 2016-03-28 16:18:40 +0900 |
commit | 2df33a8de217f54330397a9101c51f2a9956ad18 (patch) | |
tree | 9ee29eafda0d21157e22a9e9229f9d972786b1c1 /cross | |
parent | 48ce56b9fcd1b5edf5ca28f83d7b623b71e5c925 (diff) | |
download | coreclr-2df33a8de217f54330397a9101c51f2a9956ad18.tar.gz coreclr-2df33a8de217f54330397a9101c51f2a9956ad18.tar.bz2 coreclr-2df33a8de217f54330397a9101c51f2a9956ad18.zip |
objcopy: Support cross-build for stripping symbols
Currently, the 'objcopy' does only support native-build since
the commit number 4efef62f0ead16b4f8ca2c6ccf0a77ce112f73b9
Let's add cross-build as well as native-build to strip symbols.
v3:
- support if statement for arm64
v2:
- Replace 'EQUAL' with 'DEFINED' for handling Other Linux distributions
as well as Ubuntu 14.04 and for handling in case of native-build.
v2:
- support cross-build to strip debug symbols of native arm binaries
Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com
Signed-off-by: Prajwal A N an.prajwal@samsung.com
Diffstat (limited to 'cross')
-rw-r--r-- | cross/arm/toolchain.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cross/arm/toolchain.cmake b/cross/arm/toolchain.cmake index c7fea199cb..9cc92798af 100644 --- a/cross/arm/toolchain.cmake +++ b/cross/arm/toolchain.cmake @@ -7,9 +7,9 @@ set(CMAKE_SYSTEM_PROCESSOR armv7l) ## Specify the toolchain set(TOOLCHAIN "arm-linux-gnueabihf") set(TOOLCHAIN_PREFIX ${TOOLCHAIN}-) -# set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}gcc) -# set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}g++) -# set(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}as) +#set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}gcc) +#set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}g++) +#set(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}as) #set(CMAKE_AR ${TOOLCHAIN_PREFIX}ar) #set(CMAKE_OBJCOPY ${TOOLCHAIN_PREFIX}objcopy) #set(CMAKE_OBJDUMP ${TOOLCHAIN_PREFIX}objdump) |