mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
binutils 2.20.1: add -Werror hack to get the target version to build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user