Add explicit flags for GMP and MPFR
Bump up arm version to 7 armv7-a has to be added as march, rpi4 fails to build with plain armv7 fixes #3847
This commit is contained in:
parent
f4aa9c5b0e
commit
abdcc88e9a
2 changed files with 19 additions and 3 deletions
4
deps/MPFR/MPFR.cmake
vendored
4
deps/MPFR/MPFR.cmake
vendored
|
@ -21,9 +21,9 @@ else ()
|
|||
ExternalProject_Add(dep_MPFR
|
||||
URL http://ftp.vim.org/ftp/gnu/mpfr/mpfr-3.1.6.tar.bz2 https://www.mpfr.org/mpfr-3.1.6/mpfr-3.1.6.tar.bz2 # mirrors are allowed
|
||||
BUILD_IN_SOURCE ON
|
||||
CONFIGURE_COMMAND ./configure --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local --with-pic
|
||||
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt}
|
||||
BUILD_COMMAND make -j
|
||||
INSTALL_COMMAND make install
|
||||
DEPENDS dep_GMP
|
||||
)
|
||||
endif ()
|
||||
endif ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue