]> code.ossystems Code Review - openembedded-core.git/commitdiff
latencytop: obey LDFLAGS
authorChristopher Larson <chris_larson@mentor.com>
Wed, 11 Nov 2015 18:41:18 +0000 (11:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Nov 2015 08:07:56 +0000 (08:07 +0000)
Patch update courtesy Abdur Rehman <abdur_rehman@mentor.com>.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch

index 0cf217fa0b022086a23683085f84d3bb88083731..af19b3772d3d72921a7949b51f1a6fcaa62d5e7a 100644 (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