diff options
author | Konstantin Shabanov <etehtsea@gmail.com> | 2017-07-12 20:45:14 +0700 |
---|---|---|
committer | tduehr <tduehr@users.noreply.github.com> | 2017-07-12 08:45:14 -0500 |
commit | ad53a3f8c419a0d3e42573419ee35d3e395bcd69 (patch) | |
tree | bd8c5f16a65b83cb5a62086969c30724f1a1df73 /ext/ffi_c/libffi.gnu.mk | |
parent | 4c926587e565a03d501146266bc53c7c8b044c2e (diff) | |
download | ffi-ad53a3f8c419a0d3e42573419ee35d3e395bcd69.tar.gz |
Fix compatibility with PPC64LE platform (#577)
* prepare for libffi submodule
remove libffi from tree
* return libffi
This time as a submodule.
* update dependency
* add autogen.sh to makefile stubs
libffi uses autoconf; a fresh checkout does not have a configure script
* don't build docs
* Bump libffi to current HEAD
* Fix HAVE_FFI_PREP_CIF_VAR define
If vendored library used `have_func('ffi_prep_cif_var')` call always
returns `false`. Because of that `ffi_prep_cif` was used which caused
many failures related to double/float on PPC64LE platform.
Fixes #413
* Mention submodule in README
* Fix gem install command in README
* Bump rake-compiler-dock
Use latest version with Ubuntu 17.04 base image
* Fix rake gem:windows command
configure.ac:187: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
* Fix building 2.1/2.2 on macOS
* Unmask 2.3 on macOS
Diffstat (limited to 'ext/ffi_c/libffi.gnu.mk')
-rw-r--r-- | ext/ffi_c/libffi.gnu.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ffi_c/libffi.gnu.mk b/ext/ffi_c/libffi.gnu.mk index 2af7a75..b6b3701 100644 --- a/ext/ffi_c/libffi.gnu.mk +++ b/ext/ffi_c/libffi.gnu.mk @@ -20,8 +20,9 @@ else endif LIBFFI = "$(LIBFFI_BUILD_DIR)"/.libs/libffi_convenience.a +LIBFFI_AUTOGEN = ${LIBFFI_SRC_DIR}/autogen.sh LIBFFI_CONFIGURE = "$(LIBFFI_SRC_DIR)"/configure --disable-static \ - --with-pic=yes --disable-dependency-tracking + --with-pic=yes --disable-dependency-tracking --disable-docs $(OBJS): $(LIBFFI) |