diff --git a/src/SConscript b/src/SConscript index 5c182b6450304a268907d21d78acfb8285460834..9862785513448ebd932a23ab238ce334d6869651 100644 --- a/src/SConscript +++ b/src/SConscript @@ -56,7 +56,7 @@ libpath=''' if sysname=="SunOS": myenv.Append(LINKFLAGS=" -xldscope=global ") # export all symbols else: - myenv.Append(CCFLAGS=" -Wall -Werror") + myenv.Append(CCFLAGS=" -Wall -Werror -fmax-errors=2") myenv.Append(LINKFLAGS=" -Wl,-E ") # export all symbols