summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-11 11:41:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:16 +0000
commit7a557a2250c9ce89508f1000b2ee63e0f588c607 (patch)
treef89bdd9a0367cf794a52beca1c72987adca225ae
parent8aeec87415a1eeeae2312042c8da70dcc71e91a5 (diff)
downloadpoky-7a557a2250c9ce89508f1000b2ee63e0f588c607.tar.gz
latencytop: obey LDFLAGS
Patch update courtesy Abdur Rehman <abdur_rehman@mentor.com>. (From OE-Core rev: 448f211ba8a2a05380276de648176422c0b6eb37) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch b/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
index 0cf217fa0b..af19b3772d 100644
--- a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
+++ b/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
@@ -12,7 +12,7 @@ index 16a2369..fa797a2 100644
12 SBINDIR = /usr/sbin 12 SBINDIR = /usr/sbin
13 XCFLAGS = -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare 13 XCFLAGS = -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare
14-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw 14-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw
15+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncurses 15+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncurses $(LDFLAGS)
16+CC ?= gcc 16+CC ?= gcc
17 17
18 OBJS= latencytop.o text_display.o translate.o fsync.o 18 OBJS= latencytop.o text_display.o translate.o fsync.o