From: Maxim Uvarov Date: Wed, 12 Oct 2011 03:59:16 +0000 (-0700) Subject: fix modpost port bug for module signatures X-Git-Tag: v2.6.39-400.9.0~864 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7b896083f7d07458c17fd29dd16ee64b865f7551;p=users%2Fjedix%2Flinux-maple.git fix modpost port bug for module signatures Without this patch NT_GNU_BUILD_ID elf was absent. Signed-off-by: Maxim Uvarov --- diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index b7d328813eb61..a2a0f26696f14 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -132,7 +132,7 @@ targets += $(modules) else quiet_cmd_ld_ko_unsigned_o = LD [M] $@ cmd_ld_ko_unsigned_o = \ - $(LD) -r $(LDFLAGS) $(LDFLAGS_MODULE) -o $@ \ + $(LD) -r $(LDFLAGS) $(KBUILD_LDFLAGS_MODULE) $(LDFLAGS_MODULE) -o $@ \ $(filter-out FORCE,$^) \ $(if $(AFTER_LINK),; $(AFTER_LINK))