mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: add -Wl,-z,relro -Wl,-z,defs and -Wl,-z,now link flags
This commit is contained in:
@ -155,6 +155,9 @@ if not get_option('buildtype').startswith('debug')
|
|||||||
test_link_args += [
|
test_link_args += [
|
||||||
'-Wl,-Bsymbolic',
|
'-Wl,-Bsymbolic',
|
||||||
'-fno-plt',
|
'-fno-plt',
|
||||||
|
'-Wl,-z,relro',
|
||||||
|
'-Wl,-z,defs',
|
||||||
|
'-Wl,-z,now',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user