From a07cf853d7ac136e50679571e2a78c351d107d7d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 8 Feb 2014 16:27:02 -0800 Subject: [PATCH] Fix a cxxflag being in cflags. Former-commit-id: 4358bad902adba3595c856aa37b3faa6c4e1dba2 --- AMBuildScript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index bcea765e..b1c0ca0f 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -91,11 +91,13 @@ class AMXXConfig(object): '-Wall', '-Werror', '-Wno-uninitialized', - '-Wno-invalid-offsetof', '-Wno-unused', '-Wno-switch', '-m32', ] + cfg.cxxflags += [ + '-Wno-invalid-offsetof', + ] cfg.linkflags += ['-m32']