aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOzan Çağlayan <ozan@pardus.org.tr>2012-01-19 09:06:36 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2012-03-03 08:40:10 -0500
commitf2a00bb31cef363199c0f5870e9cd386ea3f5919 (patch)
treea380ea4b1273b90b370e1f75c69276b487cd0ec5 /tools
parente0c6082daeb982df70f00bbb122fed66f7f57c3e (diff)
cpupower: Fix linking with --as-needed
Fix linking order to avoid undefined reference errors when using --as-needed linker flag. Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/cpupower/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
index e8a03aceceb1..f01b3f5e3126 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -193,7 +193,7 @@ $(UTIL_OBJS): $(UTIL_HEADERS)
193 193
194cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ) 194cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ)
195 $(ECHO) " CC " $@ 195 $(ECHO) " CC " $@
196 $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) -lcpupower -lrt -lpci -L. -o $@ $(UTIL_OBJS) 196 $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L. -o $@
197 $(QUIET) $(STRIPCMD) $@ 197 $(QUIET) $(STRIPCMD) $@
198 198
199po/$(PACKAGE).pot: $(UTIL_SRC) 199po/$(PACKAGE).pot: $(UTIL_SRC)