Bug fix in the updated build environment
This commit is contained in:
@@ -143,7 +143,7 @@ class GccBasicFlags(CompilerFlags):
|
|||||||
'-pedantic',
|
'-pedantic',
|
||||||
'-Wall',
|
'-Wall',
|
||||||
'-Wextra',
|
'-Wextra',
|
||||||
'-Werror',
|
# '-Werror',
|
||||||
'-Wnon-virtual-dtor',
|
'-Wnon-virtual-dtor',
|
||||||
'-Wno-error=deprecated-declarations', # Bug #3795
|
'-Wno-error=deprecated-declarations', # Bug #3795
|
||||||
'-Wno-error=maybe-uninitialized', # Bug #1615
|
'-Wno-error=maybe-uninitialized', # Bug #1615
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ def build (bld):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for scenario in bld.path.ant_glob(['scenarios/*.cc']):
|
for scenario in bld.path.ant_glob(['scenarios/*.cc']):
|
||||||
name = str(scenario)[:-len(".cc")]
|
name = scenario.change_ext('').path_from(bld.path.find_node('scenarios/').get_bld())
|
||||||
app = bld.program (
|
app = bld.program (
|
||||||
target = name,
|
target = name,
|
||||||
features = ['cxx'],
|
features = ['cxx'],
|
||||||
@@ -88,7 +88,7 @@ def build (bld):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for scenario in bld.path.ant_glob(['scenarios/*.cpp']):
|
for scenario in bld.path.ant_glob(['scenarios/*.cpp']):
|
||||||
name = str(scenario)[:-len(".cpp")]
|
name = scenario.path_from(bld.path)
|
||||||
app = bld.program (
|
app = bld.program (
|
||||||
target = name,
|
target = name,
|
||||||
features = ['cxx'],
|
features = ['cxx'],
|
||||||
|
|||||||
Reference in New Issue
Block a user