diff --git a/AMBuildScript b/AMBuildScript index 895be6b..2b0e144 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -150,6 +150,10 @@ class MMSConfig(object): cfg.cflags += ['-mfpmath=sse'] if cxx.name == 'clang': cfg.cxxflags += ['-Wno-implicit-exception-spec-mismatch'] + if cfg.version >= 'apple-clang-5.1' or cfg.version >= 'clang-3.4': + cfg.cxxflags += ['-Wno-deprecated-register'] + else: + cfg.cxxflags += ['-Wno-deprecated'] elif cxx.name == 'msvc': if builder.options.debug == '1':