summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2016-04-28 15:24:36 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 16:02:28 +0200
commit04b03594c73c1877a98c7a657cc45bf5e9d89f7c (patch)
tree7a32b53cf07220430f11745f77cb6f25d217d238 /tools/power
parentLinux 4.6-rc5 (diff)
downloadlinux-04b03594c73c1877a98c7a657cc45bf5e9d89f7c.tar.xz
linux-04b03594c73c1877a98c7a657cc45bf5e9d89f7c.zip
Honour user's LDFLAGS
Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Thomas Renninger <trenn@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/cpupower/bench/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/bench/Makefile b/tools/power/cpupower/bench/Makefile
index d0f879b223fc..3e59f1aa3947 100644
--- a/tools/power/cpupower/bench/Makefile
+++ b/tools/power/cpupower/bench/Makefile
@@ -22,7 +22,7 @@ $(OUTPUT)%.o : %.c
$(OUTPUT)cpufreq-bench: $(OBJS)
$(ECHO) " CC " $@
- $(QUIET) $(CC) -o $@ $(CFLAGS) $(OBJS) $(LIBS)
+ $(QUIET) $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
all: $(OUTPUT)cpufreq-bench