From a5f14fdd8969304a3a57caa65c6e73abe4970a1a Mon Sep 17 00:00:00 2001 From: "Zeyi (Rice) Fan" Date: Wed, 15 Jul 2020 10:19:10 -0700 Subject: [PATCH] fix boost macOS build with new Xcode 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 --- build/fbcode_builder/manifests/boost | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/fbcode_builder/manifests/boost b/build/fbcode_builder/manifests/boost index f051cfd1b0341..4b254e308ab2a 100644 --- a/build/fbcode_builder/manifests/boost +++ b/build/fbcode_builder/manifests/boost @@ -81,3 +81,6 @@ builder = boost --with-timer --with-type_erasure --with-wave + +[b2.args.os=darwin] +toolset=clang