summaryrefslogtreecommitdiffhomepage
path: root/vdso/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-04 12:47:53 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-04 12:49:29 -0700
commit660a1a10283ba1c11398280fecff588d97743584 (patch)
tree6976244f5b7de1d1d3c7c1901fd72927bfd06c36 /vdso/BUILD
parente2b0e0e272cda5174e17263763f4b78c70a2d927 (diff)
Internal change.
PiperOrigin-RevId: 309801320
Diffstat (limited to 'vdso/BUILD')
-rw-r--r--vdso/BUILD4
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 = "",