Commit 6614c6db authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Activate NEON instructions when building for ARM.

parent 4348cd7b
......@@ -63,8 +63,7 @@ set(LINPHONE_BUILDER_TOOLCHAIN_STRIP "${CMAKE_CURRENT_BINARY_DIR}/strip.sh")
set(LINPHONE_BUILDER_TOOLCHAIN_NM "${CMAKE_CURRENT_BINARY_DIR}/nm.sh")
set(LINPHONE_BUILDER_TOOLCHAIN_CPPFLAGS "-D_REENTRANT -D__QNXNTO__ -Dasm=__asm")
#-D__PLAYBOOK__
set(LINPHONE_BUILDER_TOOLCHAIN_CFLAGS "-g -fPIC -fstack-protector-strong")
set(LINPHONE_BUILDER_TOOLCHAIN_CFLAGS "-fPIC -fstack-protector-strong")
set(LINPHONE_BUILDER_TOOLCHAIN_LDFLAGS "-L$ENV{QNX_TARGET}/x86/lib -Wl,-z,relro -Wl,-z,now -pie -lbps -lsocket")
......
......@@ -23,3 +23,4 @@
set(SYSTEM_PROCESSOR arm)
set(COMPILER_PREFIX "arm-unknown-nto-qnx")
include(toolchains/bb10/toolchain-bb10.cmake)
set(LINPHONE_BUILDER_TOOLCHAIN_CFLAGS "${LINPHONE_BUILDER_TOOLCHAIN_CFLAGS} -march=armv7-a -mfpu=neon")
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment