]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - Makefile
l2tp: fix pseudo-wire type for sessions created by pppol2tp_connect()
[linux.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