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.
  • Loading branch information
keith committed Dec 18, 2018
1 parent 0fbbb25 commit 6cefcf6
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 @@ -1024,6 +1024,7 @@ toolchain {
action: "objc-compile"
action: "objc++-compile"
flag_group {
flag: "-mmacosx-version-min=%{version_min}"
}
}
}
Expand Down

0 comments on commit 6cefcf6

Please sign in to comment.