mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 20:21:19 +08:00
C11/C++11 are the default for the RTEMS 4.12 GCC
This commit is contained in:
@@ -199,10 +199,10 @@ def cpuIncludes():
|
|||||||
'-Ifreebsd/sys/@CPU@/include']
|
'-Ifreebsd/sys/@CPU@/include']
|
||||||
|
|
||||||
def cflags():
|
def cflags():
|
||||||
return ['-std=gnu11']
|
return []
|
||||||
|
|
||||||
def cxxflags():
|
def cxxflags():
|
||||||
return ['-std=gnu++11']
|
return []
|
||||||
|
|
||||||
def headerPaths():
|
def headerPaths():
|
||||||
# local path wildcard dest path
|
# local path wildcard dest path
|
||||||
|
@@ -45,8 +45,8 @@ def build(bld):
|
|||||||
common_flags += ["-Wno-pointer-sign"]
|
common_flags += ["-Wno-pointer-sign"]
|
||||||
else:
|
else:
|
||||||
common_flags += ["-w"]
|
common_flags += ["-w"]
|
||||||
cflags = ['-std=gnu11'] + common_flags
|
cflags = [] + common_flags
|
||||||
cxxflags = ['-std=gnu++11'] + common_flags
|
cxxflags = [] + common_flags
|
||||||
|
|
||||||
# Defines
|
# Defines
|
||||||
defines = []
|
defines = []
|
||||||
|
Reference in New Issue
Block a user