Skip to content

Commit 4bf3bd0

Browse files
olsajiriShuah Khan
authored andcommitted
tools cpupower debug: Allow to use outside build flags
Adding CFLAGS and LDFLAGS to be used during the build. Cc: Thomas Renninger <trenn@suse.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
1 parent 9de9aa4 commit 4bf3bd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • tools/power/cpupower/debug/x86_64

‎tools/power/cpupower/debug/x86_64/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ INSTALL = /usr/bin/install
1313
default: all
1414

1515
$(OUTPUT)centrino-decode: ../i386/centrino-decode.c
16-
$(CC) $(CFLAGS) -o $@ $<
16+
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
1717

1818
$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
19-
$(CC) $(CFLAGS) -o $@ $<
19+
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
2020

2121
all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
2222

0 commit comments

Comments
 (0)