add use of LDFLAGS_MODULE for 2.6
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 25 Jan 2004 00:12:52 +0000 (00:12 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 25 Jan 2004 00:12:52 +0000 (00:12 +0000)
m4/as-linux.m4

index 670f1a4a045ddc667d309252c0efdeb43f3a7695..8229baaaa5d329b1e951839492965d2bbf3926bd 100644 (file)
@@ -308,7 +308,7 @@ flags:
        echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
        echo LINUX_CFLAGS_MODULE=\"\$(CFLAGS_MODULE)\" >>\$(obj)/flags
        echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags
-       echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>\$(obj)/flags
+       echo LINUX_LD=\"\$(LD) \$(LDFLAGS) \$(LDFLAGS_MODULE)\" >>\$(obj)/flags
        echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags
 EOF