waf: use C11 for C files

needed for AP_Periph
This commit is contained in:
Andrew Tridgell 2019-05-27 11:47:07 +10:00
parent d57ba14020
commit 29fe4241a8
1 changed files with 3 additions and 0 deletions

View File

@ -481,6 +481,9 @@ class chibios(Board):
'-fno-rtti',
'-fno-threadsafe-statics',
]
env.CFLAGS += [
'-std=c11'
]
if Utils.unversioned_sys_platform() == 'cygwin':
env.CXXFLAGS += ['-DCYGWIN_BUILD']