Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Meson tweaks #121

Merged
merged 3 commits into from
Oct 4, 2024
Merged

Meson tweaks #121

merged 3 commits into from
Oct 4, 2024

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Oct 3, 2024

No description provided.

meson complains:

    ../meson.build:73: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
meson complains:

    WARNING: You should add the boolean check kwarg to the run_command call.
             It currently defaults to false,
             but it will default to true in future releases of meson.
             See also: mesonbuild/meson#9300
Cherry-pick systemd commit ac3eda34[1] ("meson: use better shellscript
argument passing"):

    Passing potentially arbitrary data into a shellscript is potentially
    very broken if you do not correctly quote it for use. This quoting
    must be done as part of the interpretation of the data itself, e.g.
    python's shlex.quote; simply formatting it into a string with double
    quotes is NOT sufficient.

    An alternative is to communicate the data reliably via argv to the
    shell process, and allow the shell to internally handle it via
    `"$1"`, which is quote-safe and will expand the data from argv as a
    single tokenized word.

Also silences the following meson deprecation notice:

    NOTICE: Future-deprecated features used:
     * 0.55.0: {'ExternalProgram.path'}

[1]: systemd/systemd@ac3eda3
@ssahani ssahani merged commit 6f0863f into systemd:main Oct 4, 2024
1 check passed
@ssahani
Copy link
Collaborator

ssahani commented Oct 4, 2024

LGTM thank you

@cgzones cgzones deleted the meson branch October 6, 2024 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants