build: disable the use of -iremap for UML (#21851)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48718
This commit is contained in:
Felix Fietkau 2016-02-13 22:23:32 +00:00
parent 473e9cad43
commit c8cbe7aba2

View File

@ -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