forked from autotest/autotest-client-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client.fio: Update fio from 1.16.5 to 2.0.5
Since 1.16.5 version of fio can't be compiled on Fedora16 and RHEL6 boxes, update this fio package to 2.0.5. Signed-off-by: Qingtang Zhou <[email protected]>
- Loading branch information
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
--- src/Makefile2 2007-03-29 16:40:23.000000000 +0200 | ||
+++ src/Makefile 2007-03-29 16:40:54.000000000 +0200 | ||
@@ -2,7 +2,7 @@ | ||
CC = gcc -W | ||
DEBUGFLAGS = -D_FORTIFY_SOURCE=2 | ||
OPTFLAGS= -O2 -g $(EXTFLAGS) | ||
-CFLAGS = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -rdynamic | ||
+CFLAGS += -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -rdynamic | ||
--- src/Makefile2 2012-03-07 13:14:53.721251034 +0800 | ||
+++ src/Makefile 2012-03-07 13:15:03.189987595 +0800 | ||
@@ -3,7 +3,7 @@ | ||
CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ | ||
$(DEBUGFLAGS) | ||
OPTFLAGS= -O3 -fno-omit-frame-pointer -g $(EXTFLAGS) | ||
-CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) | ||
+CFLAGS += -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) | ||
LIBS = -lm $(EXTLIBS) | ||
PROGS = fio | ||
SCRIPTS = fio_generate_plots | ||
OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \ | ||
@@ -28,7 +28,7 @@ bindir = $(prefix)/bin | ||
all: $(PROGS) $(SCRIPTS) | ||
|
||
fio: $(OBJS) | ||
- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt | ||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt | ||
|
||
clean: | ||
-rm -f *.o .depend cscope.out $(PROGS) engines/*.o core.* core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters