mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-09 18:05:05 +01:00
wscript: add useful flags for clang also
This commit is contained in:
parent
9145589414
commit
4606a18b25
2
wscript
2
wscript
@ -130,7 +130,7 @@ def configure(conf):
|
|||||||
compiler_c_cxx_flags = {
|
compiler_c_cxx_flags = {
|
||||||
'common': {
|
'common': {
|
||||||
'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS'],
|
'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS'],
|
||||||
'clang': ['-g', '-gdwarf-2'],
|
'clang': ['-g', '-gdwarf-2', '-Werror=implicit-function-declaration', '-Werror=return-type'],
|
||||||
'gcc': ['-g', '-Werror=implicit-function-declaration', '-fdiagnostics-color=always', '-Werror=return-type']
|
'gcc': ['-g', '-Werror=implicit-function-declaration', '-fdiagnostics-color=always', '-Werror=return-type']
|
||||||
},
|
},
|
||||||
'fast': {
|
'fast': {
|
||||||
|
Loading…
Reference in New Issue
Block a user