Skip to content
Snippets Groups Projects
Commit 97a81e4f authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Separate out linker options


Meson warns that get_supported_arguments() is wrong for linker options
like these.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 8bb16389
No related branches found
No related tags found
1 merge request!82Enable and squash compiler warnings
......@@ -100,8 +100,8 @@ c_compiler = meson.get_compiler('c')
supported_warning_cflags = c_compiler.get_supported_arguments(warning_cflags)
add_project_arguments(supported_warning_cflags, language : 'c')
add_project_arguments(
c_compiler.get_supported_arguments(
add_project_link_arguments(
c_compiler.get_supported_link_arguments(
'-Wl,-z,origin',
# Generate RPATH in preference to RUNPATH, even if RUNPATH is the
# linker's default. We want RPATH here, because it's used recursively
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment