fs_mark/fs_mark-nostatic.diff

22 lines
570 B
Diff

Index: fs_mark-3.3/Makefile
===================================================================
--- fs_mark-3.3.orig/Makefile
+++ fs_mark-3.3/Makefile
@@ -10,14 +10,14 @@ DIR1= /test/dir1
DIR2= /test/dir2
COBJS= fs_mark.o lib_timing.o
-CFLAGS= -O2 -Wall -D_FILE_OFFSET_BITS=64
+CFLAGS+= -O2 -Wall -D_FILE_OFFSET_BITS=64
all: fs_mark
fs_mark.o: fs_mark.c fs_mark.h
fs_mark: fs_mark.o lib_timing.o
- ${CC} -static -o fs_mark fs_mark.o lib_timing.o
+ ${CC} -o fs_mark fs_mark.o lib_timing.o
test: fs_mark
./fs_mark -d ${DIR1} -d ${DIR2} -s 51200 -n 4096