From 43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 2 Sep 2014 15:58:50 -0700 Subject: blktrace: obey LDFLAGS for btrecord Signed-off-by: Christopher Larson --- meta/recipes-kernel/blktrace/blktrace/ldflags.patch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meta') diff --git a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch index b9c7c20c2b..037d161340 100644 --- a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch +++ b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch @@ -59,8 +59,12 @@ Signed-off-by: Fahad Usman INCS = -I. -I.. -I../btt OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -@@ -35,7 +36,7 @@ btrecord: btrecord.o - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) +@@ -32,10 +33,10 @@ clean: docsclean + $(CC) $(CFLAGS) -c -o $*.o $< + + btrecord: btrecord.o +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) ++ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS) btreplay: btreplay.o - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) -- cgit v1.2.3