Fix arm builds
This commit is contained in:
committed by
Sergey Bogolepov
parent
ce19014903
commit
f78a54aed8
@@ -227,7 +227,7 @@ linkerOptimizationFlags.linux_arm32_hfp = --gc-sections
|
||||
targetSysRoot.linux_arm32_hfp = target-sysroot-2-raspberrypi
|
||||
# We could reuse host toolchain here.
|
||||
linkerKonanFlags.linux_arm32_hfp = -Bstatic -lstdc++ -Bdynamic -ldl -lm -lpthread \
|
||||
--defsym __cxa_demangle=Konan_cxa_demangle
|
||||
--defsym __cxa_demangle=Konan_cxa_demangle --no-threads
|
||||
# targetSysroot-relative.
|
||||
libGcc.linux_arm32_hfp = lib/gcc/arm-linux-gnueabihf/4.8.3
|
||||
llvmLtoFlags.linux_arm32_hfp = -float-abi=hard -mcpu=arm1136jf-s
|
||||
@@ -270,7 +270,7 @@ linkerOptimizationFlags.linux_arm64 = --gc-sections
|
||||
targetSysRoot.linux_arm64 = target-sysroot-1-linux-glibc-arm64
|
||||
# We could reuse host toolchain here.
|
||||
linkerKonanFlags.linux_arm64 = -Bstatic -lstdc++ -Bdynamic -ldl -lm -lpthread \
|
||||
--defsym __cxa_demangle=Konan_cxa_demangle
|
||||
--defsym __cxa_demangle=Konan_cxa_demangle --no-threads
|
||||
# targetSysroot-relative.
|
||||
libGcc.linux_arm64 = usr/lib
|
||||
llvmLtoFlags.linux_arm64 = -mcpu=cortex-a57
|
||||
|
||||
Reference in New Issue
Block a user