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>
This commit is contained in:
Christopher Larson 2015-11-11 11:41:18 -07:00 committed by Richard Purdie
parent 8aeec87415
commit 7a557a2250
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ index 16a2369..fa797a2 100644
SBINDIR = /usr/sbin
XCFLAGS = -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare
-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw
+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncurses
+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncurses $(LDFLAGS)
+CC ?= gcc
OBJS= latencytop.o text_display.o translate.o fsync.o