[lttng-dev] [PATCH urcu v3] Fix: Don't override user variables within the build system

Michael Jeanson mjeanson at efficios.com
Tue May 2 21:43:07 UTC 2017


On 2017-05-02 17:40, Michael Jeanson wrote:
> Instead use the appropriatly prefixed AM_* variables as to not interfere
> when a user variable is passed to a make command. The proper use of flag
> variables is documented at :
> 
> https://www.gnu.org/software/automake/manual/automake.html#Flag-Variables-Ordering
> 
> Fixes #1095
> 
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
>  configure.ac                            | 11 +++++------
>  doc/examples/Makefile.am                |  2 +-
>  doc/examples/Makefile.examples.template |  9 +++------
>  src/Makefile.am                         |  8 ++++----
>  tests/benchmark/Makefile.am             |  2 +-
>  tests/common/Makefile.am                |  2 +-
>  tests/regression/Makefile.am            |  2 +-
>  tests/unit/Makefile.am                  |  2 +-
>  tests/utils/Makefile.am                 |  2 +-
>  9 files changed, 18 insertions(+), 22 deletions(-)

This patch deprecates :

  [PATCH urcu v2] Fix: Don't use CFLAGS in configure script


It now has a broader scope than just CFLAGS.

Michael


More information about the lttng-dev mailing list