diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-09 04:37:12 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-10 00:57:53 +0000 |
commit | d66186120f7b66e4ea9fded85c583652ee2fa0a3 (patch) | |
tree | 97fb5a5f14d0b7f0e4441c767fc850c372022b0b | |
parent | f9bdc3eb592e75c33157cf45ee0e4dcdbbd1f70d (diff) |
config/gdb.conf: Point to GMP and MPFR in the prefix directory for MinGW builds
Up to version 13, GDB had its own configure check for GMP and MPFR which
was able to find them in the prefix directory. We relied on this when
building with MinGW.
In the master branch, GDB was changed to use the GMP and MPFR checks in
root's configure.ac but they don't find the libraries in the prefix
directory anymore.
To fix the resulting break of our MinGW build, use specific flags to point
the configure script to GMP and MPFR.
Change-Id: I59dbdb0baa625f2316227b50d0475858a80c2196
-rw-r--r-- | config/gdb.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gdb.conf b/config/gdb.conf index e4079599..c8c425a3 100644 --- a/config/gdb.conf +++ b/config/gdb.conf @@ -18,7 +18,7 @@ default_makeflags="all-gdb" # For MinGW hosts, disable some features to reduce dependencies and add # CFLAGS/LDFLAGS for additional libraries. -mingw_extraconf="--disable-tui --with-python=no CFLAGS=-I$prefix/usr/include LDFLAGS=-L$prefix/usr/lib" +mingw_extraconf="--disable-tui --with-python=no --with-gmp=$prefix --with-mpfr=$prefix CFLAGS=-I$prefix/usr/include LDFLAGS=-L$prefix/usr/lib" # Currently the GDB server can only be built native. if test x"${build}" != x"${target}"; then |