mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
fix(elfutils): drop static LDFLAGS, keep configure-time toolchain paths, and disable unused-but-set-variable as error
This commit is contained in:
parent
280eaba8d5
commit
d0f7f6fbd3
1 changed files with 3 additions and 4 deletions
|
|
@ -21,8 +21,8 @@ src_configure() {
|
||||||
PKG_CONFIG_PATH="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \
|
PKG_CONFIG_PATH="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \
|
||||||
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="-static -L${KERNEL_SYSROOT}/lib" \
|
CFLAGS="-Wno-error=unused-but-set-variable" \
|
||||||
LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib" \
|
LDFLAGS="-L${KERNEL_SYSROOT}/lib" \
|
||||||
CC=gcc \
|
CC=gcc \
|
||||||
AR=ar \
|
AR=ar \
|
||||||
RANLIB=ranlib \
|
RANLIB=ranlib \
|
||||||
|
|
@ -37,8 +37,7 @@ src_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
make "${MAKEJOBS}" \
|
default_src_compile
|
||||||
LDFLAGS="-static -L${KERNEL_SYSROOT}/lib"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue