scons: Remove warn as error for v24.1
This commit is contained in:
@@ -609,13 +609,6 @@ for variant_path in variant_paths:
|
|||||||
env.Append(LINKFLAGS=['-Wl,--no-keep-memory'])
|
env.Append(LINKFLAGS=['-Wl,--no-keep-memory'])
|
||||||
else:
|
else:
|
||||||
error("Unable to use --no-keep-memory with the linker")
|
error("Unable to use --no-keep-memory with the linker")
|
||||||
|
|
||||||
# Treat warnings as errors but white list some warnings that we
|
|
||||||
# want to allow (e.g., deprecation warnings).
|
|
||||||
env.Append(CCFLAGS=['-Werror',
|
|
||||||
'-Wno-error=deprecated-declarations',
|
|
||||||
'-Wno-error=deprecated',
|
|
||||||
])
|
|
||||||
else:
|
else:
|
||||||
error('\n'.join((
|
error('\n'.join((
|
||||||
"Don't know what compiler options to use for your compiler.",
|
"Don't know what compiler options to use for your compiler.",
|
||||||
|
|||||||
Reference in New Issue
Block a user