From 666b6b97ee3340dd4b0f359d61dbe24dbb655265 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Aug 2014 20:30:35 -0700 Subject: [PATCH] Fix Mac build on apple-clang 5.0. --- AMBuildScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index b4541d3c..d2a5772b 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -190,7 +190,7 @@ class SMConfig(object): cxx.cflags += ['-Wno-unused-result'] if have_clang: cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch'] - if (builder.target_platform == 'mac' and cxx.version >= '5.1') or cxx.version >= '3.4': + if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4': cxx.cxxflags += ['-Wno-deprecated-register'] else: cxx.cxxflags += ['-Wno-deprecated']