mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-18 00:06:04 +00:00
Explicitly use gcc for GMP
GMP's configure script tries to be too smart, and if it determines that it's not cross-compiling it chooses gcc or cc instead of the wrapper we create at the start of the build. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
This commit is contained in:
parent
c88621f740
commit
7f961026c1
@ -88,7 +88,10 @@ do_gmp_backend() {
|
||||
extra_config+=("--enable-mpbsd")
|
||||
fi
|
||||
|
||||
# FIXME: GMP's configure script doesn't respect the host parameter
|
||||
# when not cross-compiling, ie when build == host.
|
||||
CT_DoExecLog CFG \
|
||||
CC="${host}-gcc" \
|
||||
CFLAGS="${cflags} -fexceptions" \
|
||||
LDFLAGS="${ldflags}" \
|
||||
${CONFIG_SHELL} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user