wscript: enforce hidden visibility

This commit is contained in:
Alibek Omarov 2019-07-09 04:53:25 +03:00
parent 1f7171462b
commit be98a228a7

View File

@ -137,14 +137,16 @@ def configure(conf):
'-gdwarf-2', '-gdwarf-2',
'-Werror=implicit-function-declaration', '-Werror=implicit-function-declaration',
'-Werror=return-type', '-Werror=return-type',
'-Werror=int-conversion' '-Werror=int-conversion',
'-fvisibility=hidden',
], ],
'gcc': [ 'gcc': [
'-g', '-g',
'-fdiagnostics-color=always', '-fdiagnostics-color=always',
'-Werror=implicit-function-declaration', '-Werror=implicit-function-declaration',
'-Werror=return-type', '-Werror=return-type',
'-Werror=int-conversion' '-Werror=int-conversion',
'-fvisibility=hidden',
] ]
}, },
'fast': { 'fast': {