]> git.pld-linux.org Git - packages/fio.git/blob - fio-makefile.patch
- additionaly, drop -O2 -g flags
[packages/fio.git] / fio-makefile.patch
1 --- fio-1.41.6/Makefile~        2010-07-12 12:51:52.432032546 +0200
2 +++ fio-1.41.6/Makefile 2010-07-12 12:51:43.427883360 +0200
3 @@ -1,6 +1,6 @@
4  CC     = gcc
5  DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
6 -OPTFLAGS= -O2 -g $(EXTFLAGS)
7 +OPTFLAGS= $(EXTFLAGS)
8  CFLAGS = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -fno-omit-frame-pointer -rdynamic
9  PROGS  = fio
10  SCRIPTS = fio_generate_plots
11 @@ -52,7 +52,7 @@
12  %.o: %.c
13         $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
14  fio: $(OBJS)
15 -       $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
16 +       $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
17  
18  depend:
19         $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.c 1> .depend
This page took 0.046292 seconds and 3 git commands to generate.