summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-03-29 21:30:19 +0200
committerChris Metcalf <cmetcalf@tilera.com>2012-04-02 18:12:59 +0200
commit6731aa9eae3e94b094a44d2aea02387a39202fbc (patch)
treece02d323a9c0fb2fb098f9fc9318bf29080fe1ff /arch
parentarch/tile: fix a couple of comments that needed updating (diff)
downloadlinux-6731aa9eae3e94b094a44d2aea02387a39202fbc.tar.xz
linux-6731aa9eae3e94b094a44d2aea02387a39202fbc.zip
arch/tile/Makefile: use KCFLAGS when figuring out the libgcc path.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/tile/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/tile/Makefile b/arch/tile/Makefile
index 17acce70569b..5e4d3b98d711 100644
--- a/arch/tile/Makefile
+++ b/arch/tile/Makefile
@@ -30,7 +30,8 @@ ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"")
KBUILD_CFLAGS += $(CONFIG_DEBUG_EXTRA_FLAGS)
endif
-LIBGCC_PATH := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
+LIBGCC_PATH := \
+ $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
# Provide the path to use for "make defconfig".
KBUILD_DEFCONFIG := $(ARCH)_defconfig