diff options
Diffstat (limited to 'recipes/iozone3/iozone3/fileop-arm.patch')
-rw-r--r-- | recipes/iozone3/iozone3/fileop-arm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/iozone3/iozone3/fileop-arm.patch b/recipes/iozone3/iozone3/fileop-arm.patch new file mode 100644 index 0000000000..0e147cb999 --- /dev/null +++ b/recipes/iozone3/iozone3/fileop-arm.patch @@ -0,0 +1,29 @@ +Index: current/makefile +=================================================================== +--- current.orig/makefile 2006-10-14 21:42:36.000000000 +0200 ++++ current/makefile 2006-10-14 21:40:02.000000000 +0200 +@@ -190,9 +190,10 @@ + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # +-linux-arm: iozone_linux-arm.o libbif.o libasync.o ++linux-arm: iozone_linux-arm.o libbif.o libasync.o fileop_linux-arm.o + $(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \ + -lrt -lpthread -o iozone ++ $(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop + + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O +@@ -725,6 +726,12 @@ + @echo "" + $(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux-AMD64.o + ++fileop_linux-arm.o: fileop.c ++ @echo "" ++ @echo "Building fileop for Linux-arm" ++ @echo "" ++ $(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux-arm.o ++ + fileop_windows.o: fileop.c + @echo "" + @echo "Building fileop for Windows" |