mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +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']
|
||||
|
||||
def cflags():
|
||||
return ['-std=gnu11']
|
||||
return []
|
||||
|
||||
def cxxflags():
|
||||
return ['-std=gnu++11']
|
||||
return []
|
||||
|
||||
def headerPaths():
|
||||
# local path wildcard dest path
|
||||
|
@@ -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 = []
|
||||
|
Reference in New Issue
Block a user