Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ endif
mtl_c_args = []
mtl_link_c_args = []

if not is_windows
mtl_link_c_args += ['-Wl,-z,now', '-Wl,-z,relro']
endif

# enable warning as error for non debug build
if get_option('buildtype') != 'debug'
mtl_c_args += ['-Werror']
Expand Down
Loading