Skip to content

Commit

Permalink
Pass macOS version min flag in osx CROSSTOOL
Browse files Browse the repository at this point in the history
This fixes an issue where cc_library targets that are dependent on from
swift_binaries weren't passed the version min flag which lead to linker
warnings about version mismatches.

More details: bazelbuild/rules_swift#114

Closes #6891.

PiperOrigin-RevId: 231229169
  • Loading branch information
keith authored and Copybara-Service committed Jan 28, 2019
1 parent 8d5b801 commit fb8cad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/osx/crosstool/CROSSTOOL.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ toolchain {
action: "objc-compile"
action: "objc++-compile"
flag_group {
flag: "-mmacosx-version-min=%{version_min}"
}
}
}
Expand Down

0 comments on commit fb8cad8

Please sign in to comment.