Fixed HEXAGON_ARM_SYSROOT

This was being reset in px4_impl_posix.cmake

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-01-18 23:53:41 -08:00 committed by Julian Oes
parent 8ca3e8e057
commit 53bf98c630
1 changed files with 0 additions and 1 deletions

View File

@ -206,7 +206,6 @@ if ("${BOARD}" STREQUAL "eagle")
endif()
# Add the toolchain specific flags
set(HEXAGON_ARM_SYSROOT ${HEXAGON_SDK_ROOT}/sysroot)
set(added_cflags ${POSIX_CMAKE_C_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT})
set(added_cxx_flags ${POSIX_CMAKE_CXX_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT})