Skip to content

Commit afedeec

Browse files
committed
don't use -Werror on solaris
1 parent 3711be4 commit afedeec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SConstruct

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,9 @@ else:
741741
print( "No special config for [" + os.sys.platform + "] which probably means it won't work" )
742742

743743
if nix:
744-
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Werror -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
744+
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
745+
if not solaris:
746+
env.Append( CPPFLAGS=" -Werror " )
745747
env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
746748
env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
747749
env.Append( LIBS=[] )

0 commit comments

Comments
 (0)