From: Emil Velikov Date: Mon, 2 Sep 2024 17:58:35 +0000 (+0100) Subject: meson: enable PIE by default X-Git-Tag: v34~464 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6acdf06421b763a670302a34c0a7ff3463c820cf;p=thirdparty%2Fkmod.git meson: enable PIE by default The autotools build has PIC enabled by default, as do we. Take this a step further by also enabling PIE. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/86 Signed-off-by: Lucas De Marchi --- diff --git a/meson.build b/meson.build index 65f4511e..edfaa0d2 100644 --- a/meson.build +++ b/meson.build @@ -6,6 +6,7 @@ project( meson_version : '>=0.60.0', default_options : [ 'c_std=gnu11', + 'b_pie=true', 'warning_level=2', 'prefix=/usr', 'sysconfdir=/etc',