Skip to content

Commit ea6a31b

Browse files
committed
Add missing compiler keys and linker flag
1 parent 0975203 commit ea6a31b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/buildmgr/cbuildgen/config/TIARMCLANG.4.0.1.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ set(WARNINGS_ASM_FLAGS "" "-w" "-Wall")
5757
set(WARNINGS_CXX_FLAGS "" "-w" "-Wall")
5858
set(WARNINGS_LD_FLAGS "" "-w" "-Wall")
5959

60-
set(LANGUAGE_VALUES "c90" "gnu90" "c99" "gnu99" "c11" "gnu11" "c17" "gnu17" "c++98" "gnu++98" "c++03" "gnu++03" "c++11" "gnu++11" "c++14" "gnu++14" "c++17" "gnu++17")
61-
set(LANGUAGE_CC_FLAGS "-std=c90" "-std=gnu90" "-std=c99" "-std=gnu99" "-std=c11" "-std=gnu11" "-std=c17" "-std=gnu17" "" "" "" "" "" "" "" "" "" "")
62-
set(LANGUAGE_CXX_FLAGS "" "" "" "" "" "" "" "" "-std=c++98" "-std=gnu++98" "-std=c++03" "-std=gnu++03" "-std=c++11" "-std=gnu++11" "-std=c++14" "-std=gnu++14" "-std=c++17" "-std=gnu++17")
60+
set(LANGUAGE_VALUES "c90" "gnu90" "c99" "gnu99" "c11" "gnu11" "c17" "gnu17" "" "" "c++98" "gnu++98" "c++03" "gnu++03" "c++11" "gnu++11" "c++14" "gnu++14" "c++17" "gnu++17" "" "" "" "")
61+
set(LANGUAGE_CC_FLAGS "-std=c90" "-std=gnu90" "-std=c99" "-std=gnu99" "-std=c11" "-std=gnu11" "-std=c17" "-std=gnu17" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "")
62+
set(LANGUAGE_CXX_FLAGS "" "" "" "" "" "" "" "" "" "" "-std=c++98" "-std=gnu++98" "-std=c++03" "-std=gnu++03" "-std=c++11" "-std=gnu++11" "-std=c++14" "-std=gnu++14" "-std=c++17" "-std=gnu++17" "" "" "" "")
6363

6464
function(cbuild_set_option_flags lang option value flags)
6565
if(NOT DEFINED ${option}_${lang}_FLAGS)
@@ -185,7 +185,7 @@ set(LD_CPU ${TIARMCLANG_CPU})
185185
set(_LS)
186186

187187
if(SECURE STREQUAL "Secure")
188-
set(LD_SECURE)
188+
set(LD_SECURE "-Wl,--import_cmse_lib_out=\"${OUT_DIR}/${CMSE_LIB}\"")
189189
endif()
190190

191191
set(LD_FLAGS)

0 commit comments

Comments
 (0)