I use cmake for cross compiling. In my toolchain file there is a line
SET(CMAKE_C_FLAGS \"-std=gnu99\")
This variable is not set in CMakeLi
I've found a temporary solution by replacing the line
SET(CMAKE_C_FLAGS "-std=gnu99")
by
SET(CMAKE_C_FLAGS "-std=gnu99" CACHE STRING "" FORCE)