summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toolchain.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/toolchain.cmake.in b/scripts/toolchain.cmake.in
index 150bfcb..85aadcb 100644
--- a/scripts/toolchain.cmake.in
+++ b/scripts/toolchain.cmake.in
@@ -1,6 +1,9 @@
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_C_COMPILER @@TARGET_CC@@)
set(CMAKE_CXX_COMPILER @@TARGET_CXX@@)
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_C_FLAGS "@@TARGET_CFLAGS@@" CACHE STRING "OpenADK CFLAGS" FORCE)
+set(CMAKE_CXX_FLAGS "@@TARGET_CXXFLAGS@@" CACHE STRING "OpenADK CXXFLAGS" FORCE)
set(CMAKE_INSTALL_SO_NO_EXE 0)
set(CMAKE_PROGRAM_PATH \"@@STAGING_HOST_DIR@@/usr/bin\")
set(CMAKE_FIND_ROOT_PATH \"@@STAGING_TARGET_DIR@@\")