summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-ld-target.patch
blob: 36b69a133613291f7ba4d543dd901395834a4a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: virtualbox/src/VBox/VMM/Makefile.kmk
===================================================================
--- virtualbox.orig/src/VBox/VMM/Makefile.kmk	2014-06-05 10:50:56.873307081 +0400
+++ virtualbox/src/VBox/VMM/Makefile.kmk	2014-06-05 11:14:59.785395660 +0400
@@ -18,6 +18,10 @@
 SUB_DEPTH = ../../..
 include $(KBUILD_PATH)/subheader.kmk
 
+# workaround bullshit in /usr/share/kBuild/tools/GXX32.kmk
+# which defines elf_i386, but should elf_i386_sol2:
+TOOL_GXX32_LDFLAGS.sysmod = -r -m elf_i386_sol2
+
 # Include sub-makefiles.
 ifndef VBOX_ONLY_EXTPACKS
  include $(PATH_SUB_CURRENT)/tools/Makefile.kmk