build fixes

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-01-14 11:08:45 +00:00
1 parent 146e2ebc53
commit fe2e72064b
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ def build(bld):
if env['CXX']:
obj = bld.new_task_gen('cxx', 'objects', 'pyext')
obj.source = 'test.cc'
if os.path.basename(obj.env['CXX']).startswith("g++"):
if env['CXX_NAME'] == 'gcc':
obj.env.append_value('CXXFLAGS', ['-Werror', '-Wno-unused'])
## manual code generation using simple pybindgen API calls