• Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules (4/7)

    From Nicolas Boulenguez@1:229/2 to All on Mon Mar 11 06:50:01 2024
    [continued from previous message]

    @@ -47,6 +49,7 @@ DPKG_BUILDFLAGS_LIST := $(foreach var,\
    DFLAGS \
    FFLAGS \
    FCFLAGS \
    + GCJFLAGS \
    LDFLAGS \
    ,$(var) $(var)_FOR_BUILD)

    --
    2.39.2


    From 936c3ea007b8a222c186696442bac4ad5e052d38 Mon Sep 17 00:00:00 2001
    From: Nicolas Boulenguez <nicolas@debian.org>
    Date: Sun, 10 Mar 2024 18:12:31 +0100
    Subject: [PATCH 07/11] scripts/buildflags.mk: sort the flag list

    in order to ease the comparison with the output of dpkg-buildflags.
    ---
    scripts/mk/buildflags.mk | 18 +++++++++---------
    1 file changed, 9 insertions(+), 9 deletions(-)

    diff --git a/scripts/mk/buildflags.mk b/scripts/mk/buildflags.mk
    index 700d2a1f7..7d949bc04 100644
    --- a/scripts/mk/buildflags.mk
    +++ b/scripts/mk/buildflags.mk
    @@ -5,13 +5,13 @@
    # CFLAGS: flags for the host C compiler.
    # CPPFLAGS: flags for the host C preprocessor.
    # CXXFLAGS: flags for the host C++ compiler.
    -# OBJCFLAGS: flags for the host Objective C compiler.
    -# OBJCXXFLAGS: flags for the host Objective C++ compiler.
    # DFLAGS: flags for the host D compiler.
    -# FFLAGS: flags for the host Fortran 77 compiler.
    # FCFLAGS: flags for the host Fortran 9x compiler.
    +# FFLAGS: flags for the host Fortran 77 compiler.
    # GCJFLAGS: flags for the host java compiler.
    # LDFLAGS: flags for the host linker.
    +# OBJCFLAGS: flags for the host Objective C compiler.
    +# OBJCXXFLAGS: flags for the host Objective C++ compiler.
    #
    # And the following variables for the buil