mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06: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_LIBDIR="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \
|
||||
CPPFLAGS="-I${KERNEL_SYSROOT}/include" \
|
||||
LDFLAGS="-static -L${KERNEL_SYSROOT}/lib" \
|
||||
LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib" \
|
||||
CFLAGS="-Wno-error=unused-but-set-variable" \
|
||||
LDFLAGS="-L${KERNEL_SYSROOT}/lib" \
|
||||
CC=gcc \
|
||||
AR=ar \
|
||||
RANLIB=ranlib \
|
||||
|
|
@ -37,8 +37,7 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_compile() {
|
||||
make "${MAKEJOBS}" \
|
||||
LDFLAGS="-static -L${KERNEL_SYSROOT}/lib"
|
||||
default_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue