* [PATCH] cpupower: Fix linking with --as-needed
@ 2012-01-19 14:06 Ozan Çağlayan
2012-02-05 20:31 ` Dominik Brodowski
0 siblings, 1 reply; 2+ messages in thread
From: Ozan Çağlayan @ 2012-01-19 14:06 UTC (permalink / raw)
To: linux-kernel; +Cc: linux
Fix linking order to avoid undefined reference errors when
using --as-needed linker flag.
Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
---
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 e8a03ac..f01b3f5 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -193,7 +193,7 @@ $(UTIL_OBJS): $(UTIL_HEADERS)
cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ)
$(ECHO) " CC " $@
- $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) -lcpupower -lrt -lpci -L. -o $@ $(UTIL_OBJS)
+ $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L. -o $@
$(QUIET) $(STRIPCMD) $@
po/$(PACKAGE).pot: $(UTIL_SRC)
--
1.7.7.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cpupower: Fix linking with --as-needed
2012-01-19 14:06 [PATCH] cpupower: Fix linking with --as-needed Ozan Çağlayan
@ 2012-02-05 20:31 ` Dominik Brodowski
0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2012-02-05 20:31 UTC (permalink / raw)
To: Ozan Çağlayan; +Cc: linux-kernel
On Thu, Jan 19, 2012 at 04:06:36PM +0200, Ozan Çağlayan wrote:
> Fix linking order to avoid undefined reference errors when
> using --as-needed linker flag.
Applied, thanks.
Best,
Dominik
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-05 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 14:06 [PATCH] cpupower: Fix linking with --as-needed Ozan Çağlayan
2012-02-05 20:31 ` Dominik Brodowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®