mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix strip handling for cross build configurations.
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
This commit is contained in:
parent
d5fd0b09b1
commit
a26832f3c9
@ -17,5 +17,7 @@ set(CMAKE_SYSTEM_PROCESSOR armv7l-el)
|
||||
|
||||
set(CMAKE_C_COMPILER arm-linux-gnueabi-gcc)
|
||||
set(CMAKE_CXX_COMPILER arm-linux-gnueabi-g++)
|
||||
# FIXME: This could break cross compilation, when the strip is not for the target architecture
|
||||
find_program(CMAKE_STRIP NAMES arm-linux-gnueabi-strip strip)
|
||||
|
||||
set(FLAGS_COMMON_ARCH -mlittle-endian -mthumb)
|
||||
|
||||
@ -17,7 +17,8 @@ set(CMAKE_SYSTEM_PROCESSOR armv7l-hf)
|
||||
|
||||
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
||||
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
||||
|
||||
# FIXME: This could break cross compilation, when the strip is not for the target architecture
|
||||
find_program(CMAKE_STRIP NAMES arm-linux-gnueabihf-strip strip)
|
||||
#
|
||||
# Limit fpu to VFPv3 with d0-d15 registers
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user