summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/blktrace/blktrace/ldflags.patch8
1 files changed, 6 insertions, 2 deletions
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 <fahad_usman@mentor.com>
59 INCS = -I. -I.. -I../btt 59 INCS = -I. -I.. -I../btt
60 OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG 60 OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG
61 XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 61 XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
62@@ -35,7 +36,7 @@ btrecord: btrecord.o 62@@ -32,10 +33,10 @@ clean: docsclean
63 $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) 63 $(CC) $(CFLAGS) -c -o $*.o $<
64
65 btrecord: btrecord.o
66- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
67+ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS)
64 68
65 btreplay: btreplay.o 69 btreplay: btreplay.o
66- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) 70- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS)