mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
linux: use our *FLAGS to build 'cpupower', thanks to 'opdenkamp'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3d1571e4d0
commit
c89d81506c
@ -56,8 +56,11 @@ make $KERNEL_IMAGE
|
|||||||
|
|
||||||
( cd tools/power/cpupower
|
( cd tools/power/cpupower
|
||||||
|
|
||||||
export CFLAGS="-I$SYSROOT_PREFIX/usr/include"
|
# dont use some optimizations because of build problems
|
||||||
export LDFLAGS="-L$SYSROOT_PREFIX/lib -L$SYSROOT_PREFIX/usr/lib"
|
TARGET_LDFLAGS=`echo $TARGET_LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||||
|
|
||||||
|
export CFLAGS="$TARGET_CFLAGS -I$SYSROOT_PREFIX/usr/include"
|
||||||
|
export LDFLAGS="$TARGET_LDFLAGS -L$SYSROOT_PREFIX/lib -L$SYSROOT_PREFIX/usr/lib"
|
||||||
|
|
||||||
make CROSS="$TARGET_PREFIX" \
|
make CROSS="$TARGET_PREFIX" \
|
||||||
V=1 \
|
V=1 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user