emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35526: closed (misleading documentation about flag variable ordering


From: GNU bug Tracking System
Subject: bug#35526: closed (misleading documentation about flag variable ordering)
Date: Fri, 12 Feb 2021 22:29:02 +0000

Your message dated Fri, 12 Feb 2021 15:28:10 -0700
with message-id <202102122228.11CMSAQF020345@freefriends.org>
and subject line 
has caused the debbugs.gnu.org bug report #35526,
regarding misleading documentation about flag variable ordering
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
35526: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35526
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: misleading documentation about flag variable ordering Date: Wed, 01 May 2019 13:33:16 -0400
https://www.gnu.org/software/automake/manual/automake.html#Flag-Variables-Ordering

says:

    The reason ‘$(CPPFLAGS)’ appears after ‘$(AM_CPPFLAGS)’ or
    ‘$(mumble_CPPFLAGS)’ in the compile command is that users should
    always have the last say.

The implication here is that for any of the *FLAGS variables, later
options are inherently more effective than earlier options.

This is not the case universally.  For example -Wl,--as-needed is more
effective if it shows up earlier in the command line.  (see
https://bugs.debian.org/347650 for a libtool-related problem for that
kind of ordering/re-ordering)

It would be good if the documentation could avoid implying something
that isn't the case, because that dubious suggestion casts doubt on the
rest of the documentation (or on the user's understanding of the rest of
the buildsystem)

thanks for maintaining automake!

    --dkg

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Date: Fri, 12 Feb 2021 15:28:10 -0700

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]