Permalink
Browse files

Hopefully last bit of fixups for Linux and Mac build.

  • Loading branch information...
psychonic committed Apr 26, 2017
1 parent f3ee5a6 commit 476ab85f8631ab0ab974d6cba555cba7c1bc9ee4
Showing with 3 additions and 3 deletions.
  1. +3 −3 AMBuildScript
View
@@ -177,10 +177,10 @@ class MMSConfig(object):
if cxx.family == 'gcc':
cxx.cflags += ['-mfpmath=sse']
if cxx.family == 'clang':
- if cfg.version >= 'clang-3.6':
+ if cxx.version >= 'clang-3.6':
cxx.cxxflags += ['-Wno-inconsistent-missing-override']
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
- if cxx.version >= 'apple-clang-5.1' or cfg.version >= 'clang-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']
@@ -473,4 +473,4 @@ if builder.backend == 'amb2':
builder.Build(BuildScripts, { 'MMS': MMS })
if builder.options.breakpad_dump:
- builder.Build('support/buildbot/BreakpadSymbols', { 'MMS': MMS })
+ builder.Build('support/buildbot/BreakpadSymbols', { 'MMS': MMS })

0 comments on commit 476ab85

Please sign in to comment.