Bug fix in the updated build environment

This commit is contained in:
Alexander Afanasyev committed 2019-03-18 14:19:01 -04:00
1 parent cc9f2fa712
commit f06b995c26
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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
+4 -4
View File
@@ -77,8 +77,8 @@ def build (bld):
use = deps, use = deps,
) )
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'],
@@ -87,8 +87,8 @@ def build (bld):
includes = "extensions" includes = "extensions"
) )
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'],