mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
blkspace: fix ldflags for iowatcher
This quiets a GNU_HASH warning. (From OE-Core rev: ad8a2ca46075a7ea236d6db9da963dc0040d2206) 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:
committed by
Richard Purdie
parent
1732a8a924
commit
9025d2e1da
@@ -9,11 +9,6 @@ http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
|
|||||||
aed463414e2e2bf8ca44ba54ee5973e7ed599e57
|
aed463414e2e2bf8ca44ba54ee5973e7ed599e57
|
||||||
|
|
||||||
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
|
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
|
||||||
---
|
|
||||||
Makefile | 11 ++++++-----
|
|
||||||
btreplay/Makefile | 3 ++-
|
|
||||||
btt/Makefile | 3 ++-
|
|
||||||
3 files changed, 10 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
--- git.orig/Makefile
|
--- git.orig/Makefile
|
||||||
+++ git/Makefile
|
+++ git/Makefile
|
||||||
@@ -91,3 +86,21 @@ Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
|
|||||||
|
|
||||||
ifneq ($(wildcard .depend),)
|
ifneq ($(wildcard .depend),)
|
||||||
include .depend
|
include .depend
|
||||||
|
--- git.orig/iowatcher/Makefile
|
||||||
|
+++ git/iowatcher/Makefile
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
C = gcc
|
||||||
|
CFLAGS = -Wall -O0 -g -W
|
||||||
|
+LDFLAGS =
|
||||||
|
ALL_CFLAGS = $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
||||||
|
|
||||||
|
PROGS = iowatcher
|
||||||
|
@@ -19,7 +20,7 @@ all: $(ALL)
|
||||||
|
$(CC) -o $*.o -c $(ALL_CFLAGS) $<
|
||||||
|
|
||||||
|
iowatcher: blkparse.o plot.o main.o tracers.o mpstat.o fio.o
|
||||||
|
- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm
|
||||||
|
+ $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm $(LDFLAGS)
|
||||||
|
|
||||||
|
depend:
|
||||||
|
@$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
|
||||||
|
|||||||
Reference in New Issue
Block a user