wscript: enforce hidden visibility
This commit is contained in:
parent
1f7171462b
commit
be98a228a7
1 changed files with 4 additions and 2 deletions
6
wscript
6
wscript
|
@ -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': {
|
||||||
|
|
Loading…
Add table
Reference in a new issue