diff options
author | Magnus Granberg <zorry@gentoo.org> | 2012-02-26 12:48:16 +0000 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2012-02-26 12:48:16 +0000 |
commit | 4251edf6293b916e1a6cebdac554447f5cd4a15b (patch) | |
tree | e52238b355b165d3a4af28b20951290f50e75563 /x11-drivers/xf86-video-virtualbox/files | |
parent | Respect CFLAGS and CC variables. (diff) | |
download | gentoo-2-4251edf6293b916e1a6cebdac554447f5cd4a15b.tar.gz gentoo-2-4251edf6293b916e1a6cebdac554447f5cd4a15b.tar.bz2 gentoo-2-4251edf6293b916e1a6cebdac554447f5cd4a15b.zip |
Fix bug #394575 on hardened, link with lazy
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files')
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-link-lazy.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-link-lazy.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-link-lazy.patch new file mode 100644 index 000000000000..081d4eb36224 --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-link-lazy.patch @@ -0,0 +1,16 @@ +2012-02-26 Magnus Granberg <zorry@gentoo.org> + + #394757 + * Config.kmk TEMPLATE_VBOXGUESTR3EXE_LDFLAGS.linux add -Wl,-z,lazy + +--- Config.kmk 2011-12-19 13:58:30.000000000 +0100 ++++ Config.kmk 2012-02-26 12:40:07.497810044 +0100 +@@ -4429,7 +4429,7 @@ else # the gcc guys + TEMPLATE_VBOXGUESTR3EXE_TOOL := $(subst GXX,GCC,$(TEMPLATE_VBOXR3EXE_TOOL)) + TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions + TEMPLATE_VBOXGUESTR3EXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS)) +- TEMPLATE_VBOXGUESTR3EXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux)) ++ TEMPLATE_VBOXGUESTR3EXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux)) -Wl,-z,lazy + endif + TEMPLATE_VBOXGUESTR3EXE_INST = $(INST_ADDITIONS) + TEMPLATE_VBOXGUESTR3EXE_DEFS := $(filter-out $(ARCH_BITS_DEFS), $(TEMPLATE_VBOXR3EXE_DEFS)) IN_GUEST IN_GUEST_R3 IN_RT_R3 $(VBOX_GC_ARCH_BITS_DEFS) |