aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Toolchains
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake/Toolchains')
-rw-r--r--host/cmake/Toolchains/arm_cortex_a8_native.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/cmake/Toolchains/arm_cortex_a8_native.cmake b/host/cmake/Toolchains/arm_cortex_a8_native.cmake
index 7dbb80049..8e60eaab1 100644
--- a/host/cmake/Toolchains/arm_cortex_a8_native.cmake
+++ b/host/cmake/Toolchains/arm_cortex_a8_native.cmake
@@ -4,5 +4,5 @@
########################################################################
set(CMAKE_CXX_COMPILER g++)
set(CMAKE_C_COMPILER gcc)
-set(CMAKE_CXX_FLAGS "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp")
-set(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS}) #same flags for C sources
+set(CMAKE_CXX_FLAGS "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp" CACHE STRING "" FORCE)
+set(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS} CACHE STRING "" FORCE) #same flags for C sources