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