diff options
author | midipix <writeonce@midipix.org> | 2019-08-15 16:57:48 -0400 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-08-16 07:40:34 +0000 |
commit | 3d9510315cff09eeb3b69e4cdb7ed5d756171037 (patch) | |
tree | e8342f069bbbd608371530b1b83a1bff3d740c30 | |
parent | 26a2bf663b205fac4f6f56470670361108931659 (diff) | |
download | midipix_build-3d9510315cff09eeb3b69e4cdb7ed5d756171037.tar.bz2 midipix_build-3d9510315cff09eeb3b69e4cdb7ed5d756171037.tar.xz |
binutils: enable use of libraries (e.g. perk, mdso) found under ${PREFIX_NATIVE}.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-rw-r--r-- | vars/build.vars | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vars/build.vars b/vars/build.vars index 3fc07d11..355bee51 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -403,6 +403,8 @@ NATIVE_TOOLCHAIN_PREFIX="${PREFIX_NATIVE}"; : ${PKG_BINUTILS_VERSION:=2.24.51}; : ${PKG_BINUTILS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2}; : ${PKG_BINUTILS_CONFIGURE_ARGS_EXTRA:="--enable-deterministic-archives --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"}; +: ${PKG_BINUTILS_CFLAGS_CONFIGURE:="-isystem ${PREFIX_NATIVE}/include -Wno-error=cpp"}; +: ${PKG_BINUTILS_LDFLAGS_CONFIGURE:="-L${PREFIX_NATIVE}/lib"}; : ${PKG_BINUTILS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/binutils-${PKG_BINUTILS_VERSION}.midipix.patch"}; : ${PKG_BINUTILS_LIBTOOL:=slibtool-static}; |