bug-automake
[Top][All Lists]
Advanced

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

bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake f


From: Karl Berry
Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files
Date: Thu, 17 Feb 2022 16:33:07 -0700

Hi Damian - thanks for the report.

    LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
            $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
            $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
            $(AM_CFLAGS) $(CFLAGS)
    ...
    `libtool` has a command line option, `-no-suppress` ...

Well, the immediate answer would apparently be to add yet another
variable after the --mode=compile, say LTMODEOPTS for the sake of
argument (have to think about the name), so the output is

LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=compile $(LTMODEOPTS) $(CC) ...

Mike, Jim, wdyt? --thanks, karl.





reply via email to

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