1 --- a/Makefile 2014-01-29 16:25:19.476592865 -0800 2 +++ b/Makefile 2014-01-29 16:27:18.937995212 -0800 3 @@ -98,16 +98,16 @@ 4 fsstress.c: global.h xfscompat.h 5 6 aio-test: aio-test.o 7 - $(CC) $(LDFLAGS) -laio aio-test.o -o aio-test 8 + $(CC) ${CFLAGS} $(LDFLAGS) aio-test.o -o aio-test -laio 9 10 aio-stress: aio-stress.o 11 - $(CC) $(LDFLAGS) -laio -lpthread aio-stress.o -o aio-stress 12 + $(CC) ${CFLAGS} $(LDFLAGS) aio-stress.o -o aio-stress -laio -lpthread 13 14 fsx-linux: fsx-linux.o 15 - $(CC) $(LDFLAGS) -laio fsx-linux.o -o fsx-linux 16 + $(CC) ${CFLAGS} $(LDFLAGS) fsx-linux.o -o fsx-linux -laio 17 18 rawread: rawread.o 19 - $(CC) $(LDFLAGS) -laio -lpthread rawread.o -o rawread 20 + $(CC) ${CFLAGS} $(LDFLAGS) rawread.o -o rawread -laio -lpthread 21 22 #pollbench: pollbench.o 23 # $(CXX) $(LDFLAGS) -lpthread polbench.o -o pollbench 24