]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/Makefile.in: remove ACLOCAL_AMFLAGS
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 11 Mar 2024 19:32:40 +0000 (15:32 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 11 Mar 2024 21:02:15 +0000 (17:02 -0400)
aclocal picks up the relevant include paths from AC_CONFIG_MACRO_DIRS in
configure.ac, so there's no need to pass `-I ../config` here.

Passing `-I ../config` is actually annoying, because it makes the output
different between when the update is triggered by the maintainer mode
and when aclocal or autoreconf is ran with no special flags.  The
difference in the output is due to the order of include paths being
different.

Change-Id: I2c963876516570842f20b4a6a470867e7a941006
Approved-By: Tom Tromey <tom@tromey.com>
gdb/Makefile.in

index 0e0f19c40c9f5664f204ada9734fa065b5cc9776..e83fbc5d146a561ebf5d8f43d737328e0e5da0bd 100644 (file)
@@ -2317,7 +2317,6 @@ config.status: $(srcdir)/configure configure.nat configure.tgt configure.host ..
        $(SHELL) config.status --recheck
 
 ACLOCAL = aclocal
-ACLOCAL_AMFLAGS = -I ../config
 
 # Keep these in sync with the includes in acinclude.m4.
 aclocal_m4_deps = \
@@ -2345,7 +2344,7 @@ aclocal_m4_deps = \
        ../config/ax_pthread.m4
 
 $(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ $(aclocal_m4_deps)
-       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+       cd $(srcdir) && $(ACLOCAL)
 
 AUTOCONF = autoconf
 configure_deps = $(srcdir)/configure.ac $(srcdir)/aclocal.m4