Skip to content

Commit

Permalink
[tools] Avoid --force_pic on macOS (#19949)
Browse files Browse the repository at this point in the history
This is unnecessary in the first place, and makes objc_library not work.
  • Loading branch information
jwnimmer-tri authored Aug 7, 2023
1 parent 747bbb1 commit 87abaec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tools/bazel.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ build --incompatible_load_python_rules_from_bzl=yes
build -c opt

# Default build options.
build --force_pic
build --strip=never
build --strict_system_includes

Expand Down
1 change: 1 addition & 0 deletions tools/ubuntu.bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Common options for Ubuntu, no matter the version.

build --force_pic
build --fission=dbg
build --features=per_object_debug_info

Expand Down

0 comments on commit 87abaec

Please sign in to comment.