mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
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>
This commit is contained in:
parent
e0c6082dae
commit
f2a00bb31c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ $(UTIL_OBJS): $(UTIL_HEADERS)
|
||||||
|
|
||||||
cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ)
|
cpupower: $(UTIL_OBJS) libcpupower.so.$(LIB_MAJ)
|
||||||
$(ECHO) " CC " $@
|
$(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) $@
|
$(QUIET) $(STRIPCMD) $@
|
||||||
|
|
||||||
po/$(PACKAGE).pot: $(UTIL_SRC)
|
po/$(PACKAGE).pot: $(UTIL_SRC)
|
||||||
|
|
Loading…
Reference in a new issue