Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: client/deps/fio/Makefile.patch

Issue 3412036: Basis for cryptohome+power_SuspendResume stress test. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: tweaks to test params Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/deps/fio/Makefile.patch
diff --git a/client/deps/fio/Makefile.patch b/client/deps/fio/Makefile.patch
new file mode 100644
index 0000000000000000000000000000000000000000..403410bd97c219e64ed0ca11ca0c5209ae14fb1b
--- /dev/null
+++ b/client/deps/fio/Makefile.patch
@@ -0,0 +1,21 @@
+--- src/Makefile 2010-09-16 16:49:19.000000000 +0200
++++ src.patched/Makefile 2010-09-16 16:49:26.000000000 +0200
+@@ -1,7 +1,7 @@
+-CC = gcc
++CC ?= gcc
+ DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
+ OPTFLAGS= -O2 -g $(EXTFLAGS)
+-CFLAGS = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -fno-omit-frame-pointer -rdynamic
++CFLAGS += -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -fno-omit-frame-pointer -rdynamic
+ PROGS = fio
+ SCRIPTS = fio_generate_plots
+ OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o filesetup.o \
+@@ -52,7 +52,7 @@
+ %.o: %.c
+ $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
+ fio: $(OBJS)
+- $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
++ $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
+
+ depend:
+ $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.c 1> .depend

Powered by Google App Engine
This is Rietveld 408576698