summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-sunld-for-kernel.patch
blob: 95d6630c5d61d055eaa273b1b6cde03f75457762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: use sunld to link kernel modules,
 GNU ld does not support -N option
Index: virtualbox/Config.kmk
===================================================================
--- virtualbox.orig/Config.kmk	2014-06-05 11:14:52.475509397 +0400
+++ virtualbox/Config.kmk	2014-06-05 11:15:08.354136458 +0400
@@ -1336,7 +1336,7 @@
   VBOX_GCC_TOOL := GXX3PLAIN
   VBOX_GCC32_TOOL := GXX32
   ifeq ($(KBUILD_HOST),solaris)
-   TOOL_GXX3PLAIN_LD_SYSMOD ?= /usr/ccs/bin/ld
+   TOOL_GXX3PLAIN_LD_SYSMOD ?= /usr/bin/sunld
   endif
  else
   VBOX_GCC_TOOL := GXX3