mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
2a9320dbac
- Bazel: Use "incompatible" flag to fix fully static linking. The flag will become the default in Bazel 4.0. - Bazel: Deduplicate features into `FULLY_STATIC_FEATURES` variable - CMake: Remove the testcase properties. `sapi::base` already sets `POSITION_INDEPENDENT_CODE`. Note that `-pie` is incompatible with `-static` and `-static-pie` requires GCC 8 and GLIBC 2.27. PiperOrigin-RevId: 346952478 Change-Id: I7a317c90a3bec9691b13df1a00e3fddf4481df4d
7 lines
242 B
Plaintext
7 lines
242 B
Plaintext
# Build in C++17 mode without a custom CROSSTOOL
|
|
build --cxxopt=-std=c++17
|
|
|
|
# TODO(https://github.com/bazelbuild/bazel/issues/8672): Remove this workaround
|
|
# This will become the default in Bazel 4.0
|
|
build --incompatible_linkopts_to_linklibs
|