From f4f3a659b7663cf52c2f2e1fa8e58ed4000e29c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:49:11 +0200 Subject: Adding debian version 7.0.6-dfsg-1. Signed-off-by: Daniel Baumann --- debian/patches/12-make-module.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/patches/12-make-module.patch (limited to 'debian/patches/12-make-module.patch') diff --git a/debian/patches/12-make-module.patch b/debian/patches/12-make-module.patch new file mode 100644 index 00000000..50fd0056 --- /dev/null +++ b/debian/patches/12-make-module.patch @@ -0,0 +1,14 @@ +Description: Fix ARCH setting in modules Makefiles. +Author: Michael Meskes , Gianfranco Costamagna + +--- a/src/VBox/Installer/linux/Makefile-header.gmk ++++ b/src/VBox/Installer/linux/Makefile-header.gmk +@@ -60,7 +60,7 @@ + # + + # VBOX_KBUILD_TARGET_ARCH = amd64|x86 +-ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) ++ifeq ($(filter-out x86_64 amd64 AMD64,$(shell dpkg-architecture -qDEB_HOST_GNU_CPU)),) + VBOX_KBUILD_TARGET_ARCH_DEFAULT := amd64 + else + VBOX_KBUILD_TARGET_ARCH_DEFAULT := x86 -- cgit v1.2.3