Merge "[RISC-V] rv64gc_zbb for Android"
This commit is contained in:
@@ -28,6 +28,7 @@ var (
|
|||||||
"-fno-emulated-tls",
|
"-fno-emulated-tls",
|
||||||
// For -fsanitize=shadow-call-stack.
|
// For -fsanitize=shadow-call-stack.
|
||||||
"-ffixed-x18",
|
"-ffixed-x18",
|
||||||
|
"-march=rv64gc_zbb",
|
||||||
}
|
}
|
||||||
|
|
||||||
riscv64ArchVariantCflags = map[string][]string{}
|
riscv64ArchVariantCflags = map[string][]string{}
|
||||||
@@ -36,6 +37,7 @@ var (
|
|||||||
"-Wl,--hash-style=gnu",
|
"-Wl,--hash-style=gnu",
|
||||||
// For -fsanitize=shadow-call-stack.
|
// For -fsanitize=shadow-call-stack.
|
||||||
"-ffixed-x18",
|
"-ffixed-x18",
|
||||||
|
"-march=rv64gc_zbb",
|
||||||
}
|
}
|
||||||
|
|
||||||
riscv64Lldflags = append(riscv64Ldflags,
|
riscv64Lldflags = append(riscv64Ldflags,
|
||||||
|
Reference in New Issue
Block a user