diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-07 16:50:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-07 16:50:43 (GMT) |
commit | ea7f559ef4f4643c705c03ef438d6b257368e02c (patch) | |
tree | f5059ec8b1d2f7829fc764d1d2bd69156e09734a /scripts/build/companion_libs/100-gmp.sh | |
parent | 272c010874b47ea50b653137e0d6e83a6543c318 (diff) | |
parent | a511f73276351e41c59def3573f76b37a289d292 (diff) |
Merge pull request #627 from dankm/freebsd
FreeBSD build support
Diffstat (limited to 'scripts/build/companion_libs/100-gmp.sh')
-rw-r--r-- | scripts/build/companion_libs/100-gmp.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/companion_libs/100-gmp.sh b/scripts/build/companion_libs/100-gmp.sh index c81874a..e6a4875 100644 --- a/scripts/build/companion_libs/100-gmp.sh +++ b/scripts/build/companion_libs/100-gmp.sh @@ -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} \ |