Index: drbd-0.7.13/benchmark/Makefile =================================================================== --- drbd-0.7.13.orig/benchmark/Makefile 2004-10-08 11:22:47.000000000 +0200 +++ drbd-0.7.13/benchmark/Makefile 2005-09-01 12:25:11.248962784 +0200 @@ -1,4 +1,6 @@ -CFLAGS=-Wall +CFLAGS=-Wall $(OPTFLAGS) + +OPTFLAGS=-O2 all: dm Index: drbd-0.7.13/testing/Makefile =================================================================== --- drbd-0.7.13.orig/testing/Makefile 2004-11-02 11:09:09.000000000 +0100 +++ drbd-0.7.13/testing/Makefile 2005-09-01 12:25:11.249962638 +0200 @@ -1,5 +1,6 @@ PROGRAMS=show_size access_and_verify ioctl_structs_sizes -CFLAGS=-Wall -I../drbd +OPTFLAGS=-O2 +CFLAGS=-Wall $(OPTFLAGS) -I../drbd all: $(PROGRAMS) Index: drbd-0.7.13/user/Makefile =================================================================== --- drbd-0.7.13.orig/user/Makefile 2004-11-02 11:09:09.000000000 +0100 +++ drbd-0.7.13/user/Makefile 2005-09-01 12:25:46.980727993 +0200 @@ -17,7 +17,8 @@ # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. # -CFLAGS = -c -Wall -I../drbd +OPTFLAGS = -O2 +CFLAGS = $(OPTFLAGS) -c -Wall -I../drbd CC = gcc drbdadm-obj = drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o \