From d96d3feb692b8c0e48ee37e0446d367953b809eb Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Wed, 8 May 2019 16:42:02 +0200 Subject: [PATCH] [build] Fixes compilation on recent NetBSD version. --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index fcb32424..176403d4 100644 --- a/SConstruct +++ b/SConstruct @@ -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':