Skip to content
Snippets Groups Projects
Commit ec666cf7 authored by q3k's avatar q3k
Browse files

micropython: fix compat with clang

parent b916089d
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,10 @@ foreach(_arg ${MICROPY_CPP_DEF}) ...@@ -42,6 +42,10 @@ foreach(_arg ${MICROPY_CPP_DEF})
list(APPEND MICROPY_CPP_FLAGS ${_prefix}${_arg}) list(APPEND MICROPY_CPP_FLAGS ${_prefix}${_arg})
endforeach() endforeach()
list(APPEND MICROPY_CPP_FLAGS ${MICROPY_CPP_FLAGS_EXTRA}) list(APPEND MICROPY_CPP_FLAGS ${MICROPY_CPP_FLAGS_EXTRA})
foreach(_arg ${CMAKE_C_FLAGS})
string(STRIP "${_arg}" _arg_stripped)
list(APPEND MICROPY_CPP_FLAGS "${_arg_stripped}")
endforeach()
find_package(Python3 REQUIRED COMPONENTS Interpreter) find_package(Python3 REQUIRED COMPONENTS Interpreter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment