summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-15 11:24:22 -0400
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-15 15:27:18 +0000
commit26a2bf663b205fac4f6f56470670361108931659 (patch)
tree4bc6cda70e1d502c01120a5f0b6137203802ab70
parent62e9ee4621cc08e3caf1f6b268b6c0e005dfdccc (diff)
downloadmidipix_build-26a2bf663b205fac4f6f56470670361108931659.tar.bz2
midipix_build-26a2bf663b205fac4f6f56470670361108931659.tar.xz
binutils_host: enable use of libraries (e.g. perk, mdso) found under ${PREFIX}.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-rw-r--r--vars/build.vars2
1 files changed, 2 insertions, 0 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 660e2bb5..3fc07d11 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -262,6 +262,8 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
: ${PKG_BINUTILS_HOST_LIBTOOL:=slibtool-static};
: ${PKG_BINUTILS_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/binutils-${PKG_BINUTILS_HOST_VERSION}.midipix.patch"};
: ${PKG_BINUTILS_HOST_PREFIX:=${PREFIX}};
+: ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:=-I${PREFIX}/include};
+: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:=-L${PREFIX}/lib};
: ${PKG_GCC_STAGE1_HOST_VERSION:=4.6.4};
: ${PKG_GCC_STAGE1_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
: ${PKG_GCC_STAGE1_HOST_GITROOT:=${DEFAULT_GITROOT}};