mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
fix(elfutils): avoid configure runtime probe failure by dropping global LIBS and setting host/build + kernel-toolchain env
This commit is contained in:
parent
cb1a8a6b28
commit
bcd3be0c97
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ src_configure() {
|
||||||
PKG_CONFIG_LIBDIR="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \
|
PKG_CONFIG_LIBDIR="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \
|
||||||
CPPFLAGS="-I${KERNEL_SYSROOT}/include" \
|
CPPFLAGS="-I${KERNEL_SYSROOT}/include" \
|
||||||
LDFLAGS="-L${KERNEL_SYSROOT}/lib" \
|
LDFLAGS="-L${KERNEL_SYSROOT}/lib" \
|
||||||
LIBS="-lfts -largp" \
|
LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib" \
|
||||||
CC=gcc \
|
CC=gcc \
|
||||||
AR=ar \
|
AR=ar \
|
||||||
RANLIB=ranlib \
|
RANLIB=ranlib \
|
||||||
|
|
@ -30,6 +30,8 @@ src_configure() {
|
||||||
--prefix="${KERNEL_SYSROOT}" \
|
--prefix="${KERNEL_SYSROOT}" \
|
||||||
--libdir="${KERNEL_SYSROOT}/lib" \
|
--libdir="${KERNEL_SYSROOT}/lib" \
|
||||||
--includedir="${KERNEL_SYSROOT}/include" \
|
--includedir="${KERNEL_SYSROOT}/include" \
|
||||||
|
--build="${TARGET}" \
|
||||||
|
--host="${TARGET}" \
|
||||||
--disable-debuginfod \
|
--disable-debuginfod \
|
||||||
--disable-libdebuginfod
|
--disable-libdebuginfod
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue