|
@@ -1183,6 +1183,7 @@ config("compiler_cpu_abi") {
|
|
|
"-mno-relax",
|
|
|
"-march=rv64gc",
|
|
|
"-mabi=lp64d",
|
|
|
+ "-Wno-error=deprecated-declarations",
|
|
|
]
|
|
|
ldflags += [
|
|
|
"--target=riscv64-linux-gnu",
|
|
@@ -1915,6 +1916,7 @@ config("wglobal_constructors") {
|
|
|
config("wexit_time_destructors") {
|
|
|
if (is_clang) {
|
|
|
cflags = [ "-Wexit-time-destructors" ]
|
|
|
+ cflags += [ "-Wno-deprecated-declarations" ]
|
|
|
}
|
|
|
}
|
|
|
|