Fix build.

This commit is contained in:
David Anderson 2014-06-25 01:06:48 -07:00
parent 2ae04ee1df
commit 6a5da160ad
2 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class SMConfig(object):
'-Wno-switch', '-Wno-switch',
'-Wno-format', '-Wno-format',
'-Wno-format-security', '-Wno-format-security',
'-Wno-array-bounds',
'-msse', '-msse',
'-m32', '-m32',
] ]
@ -184,6 +185,8 @@ class SMConfig(object):
cxx.cflags += ['-Wno-narrowing'] cxx.cflags += ['-Wno-narrowing']
if (have_gcc and cxx.version >= '4.7') or (have_clang and cxx.version >= '3'): if (have_gcc and cxx.version >= '4.7') or (have_clang and cxx.version >= '3'):
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor'] cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
if have_gcc and cxx.version >= '4.8':
cxx.cflags += ['-Wno-unused-result']
if have_clang: if have_clang:
cxx.cxxflags += [ cxx.cxxflags += [
'-Wno-implicit-exception-spec-mismatch', '-Wno-implicit-exception-spec-mismatch',

View File

@ -31,6 +31,7 @@
#include "sourcemm_api.h" #include "sourcemm_api.h"
#define VPROF_ENABLED #define VPROF_ENABLED
#define RAD_TELEMETRY_DISABLED
#include <tier0/vprof.h> #include <tier0/vprof.h>
VProfTool sVProfTool; VProfTool sVProfTool;