From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Dec 2025 16:21:34 +0000 (+0100) Subject: meson: drop now-unused -DSTANDALONE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c86e145a0070aa19f6b1b0d2820079cadc01a7;p=thirdparty%2Fsystemd.git meson: drop now-unused -DSTANDALONE If we ever want to add it back, it should be with -DSTANDALONE=0|1, so that #if instead of #ifdef can be used. We generally converted our internal defines to that form. --- diff --git a/src/repart/meson.build b/src/repart/meson.build index b922ecb7130..de0c8902d9f 100644 --- a/src/repart/meson.build +++ b/src/repart/meson.build @@ -25,7 +25,6 @@ executables += [ 'name' : 'systemd-repart.standalone', 'public' : true, 'sources' : files('repart.c'), - 'c_args' : '-DSTANDALONE', 'link_with' : [ libc_wrapper_static, libbasic_static, diff --git a/src/shutdown/meson.build b/src/shutdown/meson.build index 60b66a87d54..f5ccdbd8dd6 100644 --- a/src/shutdown/meson.build +++ b/src/shutdown/meson.build @@ -25,7 +25,6 @@ executables += [ libexec_template + { 'name' : 'systemd-shutdown.standalone', 'sources' : systemd_shutdown_sources + systemd_shutdown_extract_sources, - 'c_args' : '-DSTANDALONE', 'link_with' : [ libc_wrapper_static, libbasic_static, diff --git a/src/sysusers/meson.build b/src/sysusers/meson.build index f286ce8a20f..bbfd846e329 100644 --- a/src/sysusers/meson.build +++ b/src/sysusers/meson.build @@ -15,7 +15,6 @@ executables += [ 'name' : 'systemd-sysusers.standalone', 'public' : true, 'sources' : files('sysusers.c'), - 'c_args' : '-DSTANDALONE', 'link_with' : [ libc_wrapper_static, libbasic_static, diff --git a/src/tmpfiles/meson.build b/src/tmpfiles/meson.build index 9abe0a0c8e2..05a3171c2d0 100644 --- a/src/tmpfiles/meson.build +++ b/src/tmpfiles/meson.build @@ -23,7 +23,6 @@ executables += [ 'name' : 'systemd-tmpfiles.standalone', 'public' : true, 'sources' : systemd_tmpfiles_sources + systemd_tmpfiles_extract_sources, - 'c_args' : '-DSTANDALONE', 'link_with' : [ libc_wrapper_static, libbasic_static,