diff options
Diffstat (limited to 'vdso')
-rw-r--r-- | vdso/BUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vdso/BUILD b/vdso/BUILD index d37d4266d..c70bb8218 100644 --- a/vdso/BUILD +++ b/vdso/BUILD @@ -3,7 +3,7 @@ # normal system VDSO (time, gettimeofday, clock_gettimeofday) but which uses # timekeeping parameters managed by the sandbox kernel. -load("//tools:defs.bzl", "cc_flags_supplier", "cc_toolchain", "select_arch") +load("//tools:defs.bzl", "cc_flags_supplier", "cc_toolchain", "select_arch", "vdso_linker_option") package(licenses = ["notice"]) @@ -33,7 +33,7 @@ genrule( # Some toolchains enable stack protector by default. Disable it, the # VDSO has no hooks to handle failures. "-fno-stack-protector " + - "-fuse-ld=gold " + + vdso_linker_option + select_arch( amd64 = "-m64 ", arm64 = "", |