From f59a2da89c3293dc5b1008f309aa055d6e9a3d9e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 Feb 2015 11:59:27 +0100 Subject: Use C11 and C++11 This is necessary to use and . --- freebsd-to-rtems.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'freebsd-to-rtems.py') diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py index c90c1d17..185599f4 100755 --- a/freebsd-to-rtems.py +++ b/freebsd-to-rtems.py @@ -439,8 +439,9 @@ class ModuleManager: 'COMMON_FLAGS += -Wno-format\n' \ 'COMMON_FLAGS += -MT $@ -MD -MP -MF $(basename $@).d\n' \ 'CFLAGS += $(COMMON_FLAGS)\n' \ - 'CFLAGS += -std=gnu99\n' \ + 'CFLAGS += -std=gnu11\n' \ 'CXXFLAGS += $(COMMON_FLAGS)\n' \ + 'CXXFLAGS += -std=gnu++11\n' \ 'NEED_DUMMY_PIC_IRQ=yes\n' \ '\n' \ 'TEST_NETWORK_CONFIG = testsuite/include/rtems/bsd/test/network-config.h\n' \ -- cgit v1.2.3