]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - Makefile
Merge tag 'mtd/for-4.18' of git://git.infradead.org/linux-mtd
[mirror_ubuntu-eoan-kernel.git] / Makefile
index bbc979aeea29c88b31b38ce162266fa0ae9dac79..019a5a020606f431acb025439b311006714df0f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -509,6 +509,11 @@ ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLA
   KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO
 endif
 
+ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/cc-can-link.sh $(CC)), y)
+  CC_CAN_LINK := y
+  export CC_CAN_LINK
+endif
+
 ifeq ($(config-targets),1)
 # ===========================================================================
 # *config targets only - make sure prerequisites are updated, and descend