forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove most Objective-C dbg and opt compiler flags
Currently, Bazel sticks some extra compiler flags in when you compile Objective-C in dbg or opt mode. These flags should really be set in a CROSSTOOL rather than in the Bazel core, so remove them. RELNOTES: Bazel uses fewer compiler flags by default when building Objective-C. In particular, Bazel no longer sets `-O0`, `-DDEBUG=1`, `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg mode, and Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`, `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply these flags to your project, you can reenable them in your CROSSTOOL. PiperOrigin-RevId: 305065752
- Loading branch information
1 parent
5261655
commit 0bbe381
Showing
3 changed files
with
7 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters