mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 14:06:34 +00:00
crash: Fix build for mips target
The patch to remove these options is removed therefore instrument them via sed operations Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mingli Yu <mingli.yu@windriver.com> (cherry picked from commit 224d8a8cbeef0c5ccdf03e9f6660203af7abead6) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
2cd60a5003
commit
2acf451b1b
@ -72,6 +72,7 @@ do_compile:prepend() {
|
||||
|
||||
sed -i s/FORCE_DEFINE_ARCH/"${ARCH}"/g ${S}/configure.c
|
||||
sed -i -e 's/#define TARGET_CFLAGS_ARM_ON_X86_64.*/#define TARGET_CFLAGS_ARM_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c
|
||||
sed -i -e 's/#define TARGET_CFLAGS_MIPS_ON_X86_64.*/#define TARGET_CFLAGS_MIPS_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c
|
||||
sed -i 's/>/>/g' ${S}/Makefile
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user