mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
Use '$enable_unittest' instead of '$development' on gdbserver/configure.srv (for 'aarch64*-*-linux*' case)
On commit 8ecfd7bd4a
("Add parameter to
allow enabling/disabling selftests via configure") it seems that I
forgot to use the proper '$enable_unittest' variable when checking to
see whether to add selftest-related objects to 'srv_regobj'. This
causes a build failure on Aarch64 when 'development=false' (which is
the case for the 8.3 branch) and 'enable_unittest=true'.
This patch fixes the problem by using '$enable_unittest' instead of
'$development' when performing the check. As a reminder, it's
important to notice that '$enable_unittest's default value (i.e., when
the option '--enable-unit-tests' is not passed to configure) is the
same as '$development', so this patch doesn't affect the current
build.
I'd like to install this patch both on master and on the 8.3 branch.
OK?
gdb/gdbserver/ChangeLog:
2019-03-04 Sergio Durigan Junior <sergiodj@redhat.com>
* configure.srv: Use '$enable_unittest' instead of '$development'
when checking whether to fill 'srv_regobj' on 'aarch64*-*-linux*'
case.
This commit is contained in:
parent
7b63ad86ab
commit
45950eb600
@ -1,3 +1,9 @@
|
||||
2019-03-04 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* configure.srv: Use '$enable_unittest' instead of '$development'
|
||||
when checking whether to fill 'srv_regobj' on 'aarch64*-*-linux*'
|
||||
case.
|
||||
|
||||
2019-02-27 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* gdbreplay.c (logchar): Handle \r\n.
|
||||
|
@ -43,7 +43,7 @@ srv_linux_obj="linux-low.o linux-osdata.o linux-procfs.o linux-ptrace.o linux-wa
|
||||
case "${target}" in
|
||||
aarch64*-*-linux*)
|
||||
srv_regobj="arm-with-neon.o"
|
||||
if $development; then
|
||||
if $enable_unittests; then
|
||||
srv_regobj="${srv_regobj} aarch64.o"
|
||||
srv_regobj="${srv_regobj} linux-aarch64-tdesc-selftest.o"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user