endef
endif
+# this specific toolchain lacks libnsl
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12),y)
+define EXIM_REMOVE_LIBNSL_FROM_MAKEFILE
+ $(SED) 's/-lnsl//g' $(@D)/OS/Makefile-Linux
+endef
+endif
+
define EXIM_CONFIGURE_TOOLCHAIN
$(call exim-config-add,CC,$(TARGET_CC))
$(call exim-config-add,CFLAGS,$(TARGET_CFLAGS))
$(call exim-config-add,RANLIB,$(TARGET_RANLIB))
$(call exim-config-add,HOSTCC,$(HOSTCC))
$(call exim-config-add,HOSTCFLAGS,$(HOSTCFLAGS))
+ $(EXIM_REMOVE_LIBNSL_FROM_MAKEFILE)
endef
ifneq ($(call qstrip,$(BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE)),)