mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Correct gcc flag placement
This commit is contained in:
parent
624c8a9f1d
commit
5d2bb7e206
@ -139,14 +139,16 @@ class MMSConfig(object):
|
||||
'-fno-rtti',
|
||||
'-fno-threadsafe-statics',
|
||||
'-Wno-non-virtual-dtor',
|
||||
'-Wno-class-memaccess',
|
||||
'-Wno-overloaded-virtual',
|
||||
'-Wno-register',
|
||||
]
|
||||
if (cxx.version >= 'gcc-4.7' or cxx.family == 'clang'):
|
||||
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
|
||||
if cxx.family == 'gcc':
|
||||
cxx.cflags += ['-mfpmath=sse']
|
||||
cxx.cflags += [
|
||||
'-mfpmath=sse',
|
||||
'-Wno-class-memaccess'
|
||||
]
|
||||
if cxx.family == 'clang':
|
||||
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
|
||||
if cxx.version >= 'clang-3.9' or cxx.version >= 'apple-clang-10.0':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user