From: Felix Fietkau Date: Sat, 13 Feb 2016 22:23:32 +0000 (+0000) Subject: build: disable the use of -iremap for UML (#21851) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c8cbe7aba273e44493d6a3d093a1f1e279489c29;p=openwrt%2Fstaging%2Fthess.git build: disable the use of -iremap for UML (#21851) Signed-off-by: Felix Fietkau SVN-Revision: 48718 --- diff --git a/rules.mk b/rules.mk index a9f3d9dd90..22807da7f0 100644 --- a/rules.mk +++ b/rules.mk @@ -118,7 +118,7 @@ else TOOLCHAIN_DIR_NAME:=toolchain-$(GNU_TARGET_NAME) endif -ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8)),) +ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),) iremap = -iremap $(1):$(2) endif