This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add configure.nat as a dependency of config.status
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 4 Jun 2018 15:36:42 +0100
- Subject: Re: [PATCH] Add configure.nat as a dependency of config.status
- References: <1528122903-16122-1-git-send-email-simon.marchi@ericsson.com>
On 06/04/2018 03:35 PM, Simon Marchi wrote:
> After pulling Alan's change that added aarch64-sve-linux-ptrace.o to
> configure.nat, I got an undefined reference to aarch64_sve_get_vq when
> doing a "make clean && make". It turns out that re-running configure
> (./config.status --recheck) was needed to re-generate the Makefile with
> aarch64-sve-linux-ptrace.o included in the object list. Putting
> configure.nat in the dependencies of config.status would make sure that
> when we modify configure.nat, the configure script is re-ran. I think
> it also makes sense because configure.tgt and configure.host are also
> there.
>
> gdb/ChangeLog:
>
> * Makefile.in (config.status): Add configure.nat as a
> dependency.
Makes sense.
Thanks,
Pedro Alves