From 8e7f14391bab98b3ce83a2df27ebbf76c1b5a9fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 30 Mar 2024 17:29:18 +0100 Subject: [PATCH] meson: respect c_args/CFLAGS when generating syscalls/errnos MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes #2891 Signed-off-by: Thomas Weißschuh --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 9600ce49f..48a82780b 100644 --- a/meson.build +++ b/meson.build @@ -2708,7 +2708,7 @@ endif errnos_h = custom_target('errnos.h', input : 'tools/all_errnos', output : 'errnos.h', - command : ['tools/all_errnos', cc.cmd_array()] + command : ['tools/all_errnos', cc.cmd_array(), get_option('c_args')], ) mq_libs = [] @@ -3026,7 +3026,7 @@ endif syscalls_h = custom_target('syscalls.h', input : 'tools/all_syscalls', output : 'syscalls.h', - command : ['tools/all_syscalls', cc.cmd_array()] + command : ['tools/all_syscalls', cc.cmd_array(), get_option('c_args')], ) if cc.compiles(fs.read('include/audit-arch.h'), name : 'has AUDIT_ARCH_NATIVE') -- 2.47.3