From f38b7d693faa58cd566f6ae7b619649f3294138e Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Sep 01 2019 15:49:35 +0000 Subject: vars/build.vars:ncurses:${PKG_{C,LD}FLAGS}: don't pass --sysroot=${PREFIX_NATIVE}. vars/build.vars:libreadline:${PKG_{C,LD}FLAGS}: pass {-I${PREFIX_NATIVE}/include,-L${PREFIX_NATIVE}/lib} vs. --sysroot=${PREFIX_NATIVE}. --- diff --git a/vars/build.vars b/vars/build.vars index 973a5fa..d72e030 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -396,19 +396,17 @@ NATIVE_TOOLCHAIN_DEPS_PREFIX="${PREFIX_NATIVE}"; : ${PKG_NCURSES_SHA256SUM:=aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17}; : ${PKG_NCURSES_VERSION:=6.1}; : ${PKG_NCURSES_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz}; -: ${PKG_NCURSES_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"}; : ${PKG_NCURSES_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"}"; : ${PKG_NCURSES_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"}; : ${PKG_NCURSES_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --without-pthread"}; -: ${PKG_NCURSES_LDFLAGS_CONFIGURE:="${DEFAULT_LDFLAGS:+${DEFAULT_LDFLAGS} }--sysroot=${PREFIX_NATIVE}"}; : ${PKG_NCURSES_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; : ${PKG_LIBREADLINE_SHA256SUM:=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334}; : ${PKG_LIBREADLINE_VERSION:=7.0}; : ${PKG_LIBREADLINE_URL:=ftp://ftp.gnu.org/gnu/readline/readline-${PKG_LIBREADLINE_VERSION}.tar.gz}; -: ${PKG_LIBREADLINE_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"}; +: ${PKG_LIBREADLINE_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }-I${PREFIX_NATIVE}/include"}; : ${PKG_LIBREADLINE_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"}"; : ${PKG_LIBREADLINE_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"}; -: ${PKG_LIBREADLINE_LDFLAGS_CONFIGURE:="${DEFAULT_LDFLAGS:+${DEFAULT_LDFLAGS} }--sysroot=${PREFIX_NATIVE}"}; +: ${PKG_LIBREADLINE_LDFLAGS_CONFIGURE:="${DEFAULT_LDFLAGS:+${DEFAULT_LDFLAGS} }-L${PREFIX_NATIVE}/lib"}; : ${PKG_LIBREADLINE_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; : ${PKG_LIBZ_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b}; : ${PKG_LIBZ_VERSION:=1.2.8.2015.12.26};