diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-10-05 12:38:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 13:18:13 +0100 |
commit | 677d033224a5fd2893347f427ebad302ca95b508 (patch) | |
tree | 9749cf89e5aa26587e861bc99e57674e1d207cfb /meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch | |
parent | 412a2dc2f99562c8ba0e2f1afa2a4955fc1c4938 (diff) | |
download | poky-677d033224a5fd2893347f427ebad302ca95b508.tar.gz |
qemu-0.15: Add recipe and forward port patches from 0.14
(From OE-Core rev: fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch b/meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch new file mode 100644 index 0000000000..c0d1e5541d --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-0.15.0/linker-flags.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Fedora 13 switched the default behaviour of the linker to no longer | ||
2 | indirectly link to required libraries (i.e. dependencies of a library | ||
3 | already linked to). Therefore we need to explicitly pass the depended on | ||
4 | libraries into the linker for building to work on Fedora 13. | ||
5 | |||
6 | More information is available on the Fedora Wiki: | ||
7 | https://fedoraproject.org/wiki/UnderstandingDSOLinkChange | ||
8 | |||
9 | JL - 15/06/10 | ||
10 | |||
11 | Upstream-Status: Inappropriate [configuration] | ||
12 | |||
13 | Index: qemu-0.14.0/Makefile.target | ||
14 | =================================================================== | ||
15 | --- qemu-0.14.0.orig/Makefile.target | ||
16 | +++ qemu-0.14.0/Makefile.target | ||
17 | @@ -218,7 +218,7 @@ obj-$(CONFIG_REALLY_VIRTFS) += virtio-9p | ||
18 | obj-y += rwhandler.o | ||
19 | obj-$(CONFIG_KVM) += kvm.o kvm-all.o | ||
20 | obj-$(CONFIG_NO_KVM) += kvm-stub.o | ||
21 | -LIBS+=-lz | ||
22 | +LIBS+=-lz -lX11 -ldl | ||
23 | |||
24 | QEMU_CFLAGS += $(VNC_TLS_CFLAGS) | ||
25 | QEMU_CFLAGS += $(VNC_SASL_CFLAGS) | ||