diff options
author | Ozan Çağlayan <ozan@pardus.org.tr> | 2012-01-19 09:06:36 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2012-03-03 08:40:10 -0500 |
commit | f2a00bb31cef363199c0f5870e9cd386ea3f5919 (patch) | |
tree | a380ea4b1273b90b370e1f75c69276b487cd0ec5 /tools | |
parent | e0c6082daeb982df70f00bbb122fed66f7f57c3e (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/Makefile | 2 |
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 | ||
194 | cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ) | 194 | cpupower: $(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 | ||
199 | po/$(PACKAGE).pot: $(UTIL_SRC) | 199 | po/$(PACKAGE).pot: $(UTIL_SRC) |