diff options
| author | Gustavo Romero <gustavo.romero@linaro.org> | 2024-08-13 21:23:11 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2024-08-16 14:04:19 +0100 |
| commit | 819039a5ad6044467ddad96e656f430198fe1c20 (patch) | |
| tree | 05b00655ccb3cee1b83864e019cf527e6c837240 | |
| parent | 6fe12bc6593638932d195dd71517dc8048cdb2e6 (diff) | |
| download | focaccia-qemu-819039a5ad6044467ddad96e656f430198fe1c20.tar.gz focaccia-qemu-819039a5ad6044467ddad96e656f430198fe1c20.zip | |
configure: Fix arch detection for GDB_HAS_MTE
GDB_HAS_MTE must only be set if GDB supports the aarch64 arch, so the test if "aarch64" string is present must be against GDB-related '$gdb_arches' variable and not against '$arch' variable. Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org> Message-Id: <20240804161850.2646299-2-gustavo.romero@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240813202329.1237572-4-alex.bennee@linaro.org>
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure index 019fcbd0ef..a3aa257fd3 100755 --- a/configure +++ b/configure @@ -1673,7 +1673,7 @@ for target in $target_list; do echo "GDB=$gdb_bin" >> $config_target_mak fi - if test "${arch}" = "aarch64" && version_ge ${gdb_version##* } 15.0; then + if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge ${gdb_version##* } 15.0; then echo "GDB_HAS_MTE=y" >> $config_target_mak fi |