forked from pool/virtualbox
fb62e748b1
Version Bump to 6.1.40 This is a maintenance release. The following items were fixed and/or added: GUI: Fixed missed machine-items state translation on language change USB: Fixed possible crash when the device got detached while the controller is resetting the port Main: Provide guest's absolute pointing mouse device with buttons state when mouse integration is ON Linux Host and Guest Additions: Prevented build failure on 5.8+ 32-bit kernels Linux Host and Guest Additions: Introduced additional fixes for kernel 6.0 Linux Host and Guest Additions: Introduced additional fixes for Debian specific kernels Solaris and Linux Guest Additions: Added better handling of negative screen sizes which some X11 desktop environments are reporting Windows Guest Additions: Added fixes related to VBoxTray IPC - Fix boo#1204233 boo#1204331 boo#1202851 - Remove file fix_error_in_USB_header.patch - fixed upstream OBS-URL: https://build.opensuse.org/request/show/1029812 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=661
26 lines
1.5 KiB
Diff
26 lines
1.5 KiB
Diff
Index: VirtualBox-6.1.40/Config.kmk
|
|
===================================================================
|
|
--- VirtualBox-6.1.40.orig/Config.kmk
|
|
+++ VirtualBox-6.1.40/Config.kmk
|
|
@@ -5663,6 +5663,9 @@ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.darwi
|
|
ifeq ($(KBUILD_TARGET),linux)
|
|
# not necessary except USE_LIB_PCAP is defined in SUPR3HardenedMain.cpp
|
|
# TEMPLATE_VBOXR3HARDENEDEXE_LIBS += cap
|
|
+ TEMPLATE_VBOXR3HARDENEDEXE_CXXFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.linux) -fPIE
|
|
+ TEMPLATE_VBOXR3HARDENEDEXE_CFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CFLAGS.linux) -fPIE
|
|
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(TEMPLATE_VBOXR3EXE_LDFLAGS.linux) -pie
|
|
endif
|
|
ifeq ($(KBUILD_TARGET),win) # No CRT!
|
|
TEMPLATE_VBOXR3HARDENEDEXE_SDKS = VBOX_NTDLL $(TEMPLATE_VBOXR3EXE_SDKS)
|
|
@@ -5684,8 +5687,8 @@ ifeq ($(KBUILD_TARGET),win) # No CRT!
|
|
TEMPLATE_VBOXR3HARDENEDEXE_LIBS.amd64 = $(NOT_SUCH_VARIABLE)
|
|
else ifn1of ($(KBUILD_TARGET), os2 solaris)
|
|
# We want to keep the RPATH on Solaris to be able to find libgcc_1/libstdc++ within $(VBOX_WITH_RUNPATH)
|
|
- TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS))
|
|
- TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux))
|
|
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS)) -pie
|
|
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux)) -pie
|
|
endif
|
|
|
|
#
|