Bug fix in the updated build environment

This commit is contained in:
Alexander Afanasyev
2019-03-18 14:19:01 -04:00
parent cc9f2fa712
commit f06b995c26
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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'],