mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change.
PiperOrigin-RevId: 241350917 Change-Id: Ieacaa9ce2e41e22f1bae8900170879f549606782
This commit is contained in:
+8
-1
@@ -3,6 +3,8 @@
|
||||
# normal system VDSO (time, gettimeofday, clock_gettimeofday) but which uses
|
||||
# timekeeping parameters managed by the sandbox kernel.
|
||||
|
||||
load("@bazel_tools//tools/cpp:cc_flags_supplier.bzl", "cc_flags_supplier")
|
||||
|
||||
package(licenses = ["notice"])
|
||||
|
||||
config_setting(
|
||||
@@ -57,7 +59,7 @@ genrule(
|
||||
features = ["-pie"],
|
||||
toolchains = [
|
||||
"@bazel_tools//tools/cpp:current_cc_toolchain",
|
||||
"@bazel_tools//tools/cpp:cc_flags",
|
||||
":no_pie_cc_flags",
|
||||
],
|
||||
tools = [
|
||||
":check_vdso",
|
||||
@@ -65,6 +67,11 @@ genrule(
|
||||
visibility = ["//:sandbox"],
|
||||
)
|
||||
|
||||
cc_flags_supplier(
|
||||
name = "no_pie_cc_flags",
|
||||
features = ["-pie"],
|
||||
)
|
||||
|
||||
py_binary(
|
||||
name = "check_vdso",
|
||||
srcs = ["check_vdso.py"],
|
||||
|
||||
Reference in New Issue
Block a user