summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu
diff options
context:
space:
mode:
authorStephen Arnold <sarnold@vctlabs.com>2016-06-12 18:09:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:05:21 +0100
commit44ab979c4d7d5bc09df6fe920d5a171d281fa600 (patch)
treeb7ecda874d12ebce545d8e4ad97e2a6222306ae2 /meta/recipes-devtools/qemu/qemu
parent8f9f48a29a8478dce203b7b0e439ef5303b05475 (diff)
downloadpoky-44ab979c4d7d5bc09df6fe920d5a171d281fa600.tar.gz
qemu-native: set ld.bfd, fix cflags, and set some environment vars
The main thing is build failures with gold linker, but qemu is also a little too aggressive at finding random tools on the build host, so we also set the build env for qemu-native and make sure it doesn't reset its own (hard-coded) cflags when we don't want it to. (From OE-Core rev: 862c9cbbef1f17b57c0ea369d88194b60623ffdd) Signed-off-by: Stephen Arnold <sarnold@vctlabs.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch b/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch
new file mode 100644
index 0000000000..173394fd02
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch
@@ -0,0 +1,13 @@
1--- a/configure
2+++ b/configure
3@@ -4468,10 +4468,6 @@ fi
4 if test "$gcov" = "yes" ; then
5 CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
6 LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
7-elif test "$fortify_source" = "yes" ; then
8- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
9-elif test "$debug" = "no"; then
10- CFLAGS="-O2 $CFLAGS"
11 fi
12
13 ##########################################