[rtems-libbsd commit] C11/C++11 are the default for the RTEMS 4.12 GCC

Sebastian Huber sebh at rtems.org
Tue Feb 21 07:36:22 UTC 2017


Module:    rtems-libbsd
Branch:    master
Commit:    2a5d001ddbc3d0c155097531d706528574e7c2b2
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=2a5d001ddbc3d0c155097531d706528574e7c2b2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Feb 21 08:34:58 2017 +0100

C11/C++11 are the default for the RTEMS 4.12 GCC

---

 builder.py    | 4 ++--
 libbsd_waf.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/builder.py b/builder.py
index a9e991c..bd7f6f9 100755
--- a/builder.py
+++ b/builder.py
@@ -199,10 +199,10 @@ def cpuIncludes():
             '-Ifreebsd/sys/@CPU@/include']
 
 def cflags():
-    return ['-std=gnu11']
+    return []
 
 def cxxflags():
-    return ['-std=gnu++11']
+    return []
 
 def headerPaths():
     #         local path                      wildcard             dest path
diff --git a/libbsd_waf.py b/libbsd_waf.py
index ef3150b..651645d 100644
--- a/libbsd_waf.py
+++ b/libbsd_waf.py
@@ -45,8 +45,8 @@ def build(bld):
         common_flags += ["-Wno-pointer-sign"]
     else:
         common_flags += ["-w"]
-    cflags = ['-std=gnu11'] + common_flags
-    cxxflags = ['-std=gnu++11'] + common_flags
+    cflags = [] + common_flags
+    cxxflags = [] + common_flags
 
     # Defines
     defines = []



More information about the vc mailing list