mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06: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" \
|
||||
CPPFLAGS="-I${KERNEL_SYSROOT}/include" \
|
||||
LDFLAGS="-L${KERNEL_SYSROOT}/lib" \
|
||||
LIBS="-lfts -largp" \
|
||||
LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib" \
|
||||
CC=gcc \
|
||||
AR=ar \
|
||||
RANLIB=ranlib \
|
||||
|
|
@ -30,6 +30,8 @@ src_configure() {
|
|||
--prefix="${KERNEL_SYSROOT}" \
|
||||
--libdir="${KERNEL_SYSROOT}/lib" \
|
||||
--includedir="${KERNEL_SYSROOT}/include" \
|
||||
--build="${TARGET}" \
|
||||
--host="${TARGET}" \
|
||||
--disable-debuginfod \
|
||||
--disable-libdebuginfod
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue