Files
edgetx-gx12/cmake/toolchain/native.cmake
T
Raphael CoefficandGitHub ab26bf3c66 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.
2022-11-23 15:55:45 +10:00

7 lines
192 B
CMake

# 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()