mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
gnome-power-manager: Fix build with B!=S
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -27,12 +27,11 @@ EXTRA_OECONF = " --disable-scrollkeeper \
|
||||
"
|
||||
|
||||
do_configure_append() {
|
||||
rm config.log
|
||||
# Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
|
||||
for i in $(find ${S} -name "Makefile") ; do
|
||||
for i in $(find ${B} -name "Makefile") ; do
|
||||
sed -i -e s:-Werror::g $i
|
||||
done
|
||||
sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile
|
||||
sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${B}/src/Makefile
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-applets"
|
||||
|
||||
Reference in New Issue
Block a user