Skip to content

Commit

Permalink
fix boost macOS build with new Xcode
Browse files Browse the repository at this point in the history
Summary:
When we build boost 1.69.0 with newer version of Xcode, it will fail with:

```
clang: error: unknown argument: '-fcoalesce-templates'
```

This commit fixes this build failure by telling boost's build system that we are building with clang on macOS.

Reviewed By: chadaustin

Differential Revision: D22417488

fbshipit-source-id: 0b3d22835abbba6d06812c656acb0311a60d8c67
  • Loading branch information
fanzeyi authored and facebook-github-bot committed Jul 15, 2020
1 parent 1207774 commit a5f14fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/fbcode_builder/manifests/boost
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ builder = boost
--with-timer
--with-type_erasure
--with-wave

[b2.args.os=darwin]
toolset=clang

0 comments on commit a5f14fd

Please sign in to comment.