aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-13 22:23:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-13 22:23:32 +0000
commitc8cbe7aba273e44493d6a3d093a1f1e279489c29 (patch)
tree8ecdc7728febbc52660e6e66055d7617ab9079e2
parent473e9cad433f7ed67543db35a487f9031ea7e509 (diff)
downloadupstream-c8cbe7aba273e44493d6a3d093a1f1e279489c29.tar.gz
upstream-c8cbe7aba273e44493d6a3d093a1f1e279489c29.tar.bz2
upstream-c8cbe7aba273e44493d6a3d093a1f1e279489c29.zip
build: disable the use of -iremap for UML (#21851)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48718
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
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