]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: drop now-unused -DSTANDALONE
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Dec 2025 16:21:34 +0000 (17:21 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Dec 2025 12:15:49 +0000 (13:15 +0100)
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.

src/repart/meson.build
src/shutdown/meson.build
src/sysusers/meson.build
src/tmpfiles/meson.build

index b922ecb7130f87172ead4af187190ccb2ea8468d..de0c8902d9fd688e8840e583e3d73dbce9d980ac 100644 (file)
@@ -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,
index 60b66a87d54062bfed436b44729b4ac03245b1b3..f5ccdbd8dd655222f1c1a8076d0e6a7476f579dd 100644 (file)
@@ -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,
index f286ce8a20f25ccff7efbe9334b3b281e8570972..bbfd846e329b296564a273dd26e2a007fc3d1acf 100644 (file)
@@ -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,
index 9abe0a0c8e22c9cdda5c5540a8e03ca5a90f068e..05a3171c2d0b7e7eadddcee28d8c4c5bff08022f 100644 (file)
@@ -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,