Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6731aa9e authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile/Makefile: use KCFLAGS when figuring out the libgcc path.

parent 51bcdf88
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,8 @@ ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"")
KBUILD_CFLAGS   += $(CONFIG_DEBUG_EXTRA_FLAGS)
KBUILD_CFLAGS   += $(CONFIG_DEBUG_EXTRA_FLAGS)
endif
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".
# Provide the path to use for "make defconfig".
KBUILD_DEFCONFIG := $(ARCH)_defconfig
KBUILD_DEFCONFIG := $(ARCH)_defconfig