UBUNTU: SAUCE: tools: use CC for linking acpi tools
Prior to7ed1c1901f("tools: fix cross-compile var clobbering") the acpi tools makefiles were using gcc for linking. That commit causes ld to be used instead, however this doesn't work as the flags supplied are meant for gcc and not ld. Change the acpi tools rules to use $(QUIET_LINK)$(CC) for linking to fix this regression. Fixes:7ed1c1901f("tools: fix cross-compile var clobbering") Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
99b903d05c
commit
0f3750c2f9
@@ -9,7 +9,7 @@ objdir := $(OUTPUT)tools/$(TOOL)/
|
||||
toolobjs := $(addprefix $(objdir),$(TOOL_OBJS))
|
||||
$(OUTPUT)$(TOOL): $(toolobjs) FORCE
|
||||
$(ECHO) " LD " $(subst $(OUTPUT),,$@)
|
||||
$(QUIET) $(LD) $(CFLAGS) $(toolobjs) $(LDFLAGS) -L$(OUTPUT) -o $@
|
||||
$(QUIET_LINK)$(CC) $(CFLAGS) $(toolobjs) $(LDFLAGS) -L$(OUTPUT) -o $@
|
||||
$(ECHO) " STRIP " $(subst $(OUTPUT),,$@)
|
||||
$(QUIET) $(STRIPCMD) $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user