diff --git a/bazel/envoy_binary.bzl b/bazel/envoy_binary.bzl index 43c52bf7e15bf..6ea24b9888cfb 100644 --- a/bazel/envoy_binary.bzl +++ b/bazel/envoy_binary.bzl @@ -54,12 +54,7 @@ def _envoy_select_exported_symbols(xs): # Compute the final linkopts based on various options. def _envoy_linkopts(): return select({ - # The macOS system library transitively links common libraries (e.g., pthread). - "@envoy//bazel:apple": [ - # See note here: https://luajit.org/install.html - "-pagezero_size 10000", - "-image_base 100000000", - ], + "@envoy//bazel:apple": [], "@envoy//bazel:windows_opt_build": [ "-DEFAULTLIB:ws2_32.lib", "-DEFAULTLIB:iphlpapi.lib", diff --git a/bazel/envoy_test.bzl b/bazel/envoy_test.bzl index f74eda3e8393d..7f45c554c54db 100644 --- a/bazel/envoy_test.bzl +++ b/bazel/envoy_test.bzl @@ -60,11 +60,7 @@ def _envoy_cc_test_infrastructure_library( # Compute the test linkopts based on various options. def _envoy_test_linkopts(): return select({ - "@envoy//bazel:apple": [ - # See note here: https://luajit.org/install.html - "-pagezero_size 10000", - "-image_base 100000000", - ], + "@envoy//bazel:apple": [], "@envoy//bazel:windows_x86_64": [ "-DEFAULTLIB:ws2_32.lib", "-DEFAULTLIB:iphlpapi.lib",