Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

26a2bf binutils_host: enable use of libraries (e.g. perk, mdso) found under ${PREFIX}.

1 file Authored by midipix 5 years ago, Committed by Lucio Andrés Illanes Albornoz 5 years ago,
    binutils_host: enable use of libraries (e.g. perk, mdso) found under ${PREFIX}.
    
    Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
    
        
file modified
+2 -0
vars/build.vars CHANGED
@@ -262,6 +262,8 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
262
262
: ${PKG_BINUTILS_HOST_LIBTOOL:=slibtool-static};
263
263
: ${PKG_BINUTILS_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/binutils-${PKG_BINUTILS_HOST_VERSION}.midipix.patch"};
264
264
: ${PKG_BINUTILS_HOST_PREFIX:=${PREFIX}};
265
+ : ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:=-I${PREFIX}/include};
266
+ : ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:=-L${PREFIX}/lib};
265
267
: ${PKG_GCC_STAGE1_HOST_VERSION:=4.6.4};
266
268
: ${PKG_GCC_STAGE1_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
267
269
: ${PKG_GCC_STAGE1_HOST_GITROOT:=${DEFAULT_GITROOT}};