diff options
author | Karel Zak <kzak@redhat.com> | 2024-04-01 12:20:09 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2024-04-01 12:20:09 +0200 |
commit | d7ffa483c373573ba55cd86dc7cc8da2fefce547 (patch) | |
tree | 408621602f4ce3a4f52165a71d5cdea0746933c6 | |
parent | b17badc1aedeb6b5bb97a2f23f086bc581f94ad0 (diff) | |
parent | 8e7f14391bab98b3ce83a2df27ebbf76c1b5a9fc (diff) | |
download | util-linux-d7ffa483c373573ba55cd86dc7cc8da2fefce547.tar.gz |
Merge branch 'meson/generate-cargs' of https://github.com/t-8ch/util-linux
* 'meson/generate-cargs' of https://github.com/t-8ch/util-linux:
meson: respect c_args/CFLAGS when generating syscalls/errnos
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 9600ce49f7..48a82780b5 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') |