diff options
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild index a90623b999c1..1d589413554b 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild @@ -32,6 +32,10 @@ pkg_setup() { BUILD_PARAMS="KERN_DIR=${KV_DIR} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" enewgroup vboxusers + + CONFIG_CHECK="!TRIM_UNUSED_KSYMS" + ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + } src_prepare() { diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild index 7da1a80f0c24..5a8bf08db66f 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild @@ -32,6 +32,10 @@ pkg_setup() { BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" enewgroup vboxusers + + CONFIG_CHECK="!TRIM_UNUSED_KSYMS" + ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + } src_prepare() { |