Compare commits

...

2 Commits

Author SHA1 Message Date
james-prysm
b77226db0f Merge branch 'develop' into hardenBinaries 2023-02-24 15:21:43 -06:00
nisdas
7d0eaf2713 harden executables 2021-11-23 20:51:19 +08:00
4 changed files with 7 additions and 1 deletions

View File

@@ -137,6 +137,7 @@ docker_push(
go_binary(
name = "beacon-chain",
embed = [":go_default_library"],
linkmode = "pie",
visibility = [
"//beacon-chain:__subpackages__",
"//testing/endtoend:__pkg__",

View File

@@ -27,5 +27,6 @@ go_library(
go_binary(
name = "client-stats",
embed = [":go_default_library"],
linkmode = "pie",
visibility = ["//visibility:public"],
)

View File

@@ -132,6 +132,7 @@ docker_push(
go_binary(
name = "validator",
embed = [":go_default_library"],
linkmode = "pie",
pure = "off", # Enabled unless there is a valid reason to include cgo dep.
visibility = [
"//testing/endtoend:__pkg__",

View File

@@ -75,8 +75,11 @@ cc_library(
],
copts = OPTS + [
"-std=c++03",
"-fPIC",
],
linkopts = select({
linkopts = [
"-Wl,-z,notext",
] + select({
":use_gmp": ["-lgmp"],
"//conditions:default": [],
}) + select({