From f63897c1fd52068e83d78fe8dfe9d0d493324d47 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Fri, 18 Nov 2016 08:48:07 +0000 Subject: [PATCH] Better cross-build support Former-commit-id: 0da2d8c9d07ee778f0dd6ec5e00076e89ed3b441 --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 953910cc6e..2c9100b01d 100755 --- a/debian/rules +++ b/debian/rules @@ -33,21 +33,21 @@ else CONF_FLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif -ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd) +ifeq ($(DEB_HOST_ARCH_OS), kfreebsd) CONF_FLAGS += --enable-minimal=aot endif -ifeq ($(DEB_BUILD_ARCH), armel) +ifeq ($(DEB_HOST_ARCH), armel) CONF_FLAGS += --with-fpu=NONE endif -ifneq (,$(findstring $(DEB_BUILD_ARCH),$(DEB_MONO_SGEN_ARCHS))) +ifneq (,$(findstring $(DEB_HOST_ARCH),$(DEB_MONO_SGEN_ARCHS))) CONF_FLAGS += --with-sgen=yes else CONF_FLAGS += --with-sgen=no endif -ifeq ($(DEB_BUILD_ARCH), arm64) +ifeq ($(DEB_HOST_ARCH), arm64) MONO_BOEHM_TEST = true CONF_FLAGS += --disable-boehm SKIP_LIBGC = true