projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CFLAGS and LDFLAGS for FreeBSD builds
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 3701317e78d0e4d6783966395a7445747ddd8d9f..d7e5fca73082e715bfc898c41602ce514cbc94b7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-59,6
+59,12
@@
ifdef CONFIG_LIBHDFS
SOURCE += engines/libhdfs.c
endif
SOURCE += engines/libhdfs.c
endif
+ifdef CONFIG_LIBISCSI
+ CFLAGS += $(LIBISCSI_CFLAGS)
+ LIBS += $(LIBISCSI_LIBS)
+ SOURCE += engines/libiscsi.c
+endif
+
ifdef CONFIG_64BIT
CFLAGS += -DBITS_PER_LONG=64
endif
ifdef CONFIG_64BIT
CFLAGS += -DBITS_PER_LONG=64
endif
@@
-444,7
+450,7
@@
cairo_text_helpers.o: cairo_text_helpers.c cairo_text_helpers.h
printing.o: printing.c printing.h
$(QUIET_CC)$(CC) $(CFLAGS) $(GTK_CFLAGS) $(CPPFLAGS) -c $<
printing.o: printing.c printing.h
$(QUIET_CC)$(CC) $(CFLAGS) $(GTK_CFLAGS) $(CPPFLAGS) -c $<
-t/io_uring.o: os/io_uring.h
+t/io_uring.o: os/
linux/
io_uring.h
t/io_uring: $(T_IOU_RING_OBJS)
$(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_IOU_RING_OBJS) $(LIBS)
t/io_uring: $(T_IOU_RING_OBJS)
$(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_IOU_RING_OBJS) $(LIBS)