Skip to content

Commit

Permalink
[build] Fixes compilation on recent NetBSD version.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed May 8, 2019
1 parent 959e2e0 commit d96d3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ class FreelanEnvironment(Environment):
self.Append(LIBPATH=['/usr/local/lib'])

if sys.platform.startswith('netbsd'):
self.Append(CXXFLAGS=['-I/usr/pkg/include', '-Wno-shadow'])
self.Append(CFLAGS=['-I/usr/pkg/include', '-Wno-shadow'])
self.Append(CXXFLAGS=['-I/usr/pkg/include', '-Wno-shadow', '-Wno-unused', '-Wno-uninitialized'])
self.Append(CFLAGS=['-I/usr/pkg/include', '-Wno-shadow', '-Wno-unused', '-Wno-uninitialized'])
self.Append(LIBPATH=['/usr/pkg/lib'])

if self.mode == 'debug':
Expand Down

0 comments on commit d96d3fe

Please sign in to comment.