Skip to content
Commit d17956a0 authored by Yuval Peress's avatar Yuval Peress Committed by Benjamin Cabé
Browse files

build: Support SYSROOT_DIR in native_sim and clang



When running naive sim builds using clang, respect user passed
SYSROOT_DIR values. Additionally, allow overriding the archive tool
when calling Make for the native simulator.

Add the sysroot (if available) to the native_simulator target and
TOOLCHAIN_C_FLAGS and TOOLCHAIN_LD_FLAGS. Additionally pass CMAKE_AR
to NSI_AR.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent 8a26316f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment