chore(compilation): Silence some warning on apple silicon (#2712)
When compiling `simu`, `clang` complains about all the StdPeriph headers declaring assembly with invalid operand width.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
# Native toolchain
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_C_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
||||
set(CMAKE_CXX_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user