Commit 2b5f1a5e authored by Koen Kooi's avatar Koen Kooi

binutils 2.20.1: add -Werror hack to get the target version to build

Signed-off-by: default avatarKoen Kooi <koen@dominion.thruhere.net>
parent 8d425adb
require binutils.inc
PR = "r7"
PR = "r8"
LIC_FILES_CHKSUM="\
file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
......@@ -40,3 +40,13 @@ SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
BBCLASSEXTEND = "native"
do_configure_prepend() {
sed -i -e 's: -Werror::g' ${S}/bfd/warning.m4
# These aren't getting regenerated by autotools.bbclass
for i in $(find ${S} -name "configure") ; do
sed -i -e 's: -Werror::g' $i
done
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment