From 610203a1a4ce5709191a08572709e6a691e6b928 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 25 Apr 2018 18:50:28 +0100 Subject: [PATCH] meson: Fix the -z,relro flag We're missing a dash. --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 6208689..49907fa 100644 --- a/src/meson.build +++ b/src/meson.build @@ -51,7 +51,7 @@ common_ldflags = [] if host_system == 'linux' and cc.get_id() == 'gcc' if meson.version().version_compare('>= 0.46.0') - common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic', '-Wl,z,relro' ]) + common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic', '-Wl,-z,relro' ]) else common_ldflags += [ '-Wl,-Bsymbolic', '-Wl,-z,relro', ] endif