diff -urN irqbalance-0.55.org/Makefile irqbalance-0.55/Makefile --- irqbalance-0.55.org/Makefile 2006-12-05 14:15:23.000000000 +0100 +++ irqbalance-0.55/Makefile 2006-12-13 17:55:44.632291750 +0100 @@ -1,11 +1,14 @@ -CFLAGS+=-g -Os -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` + +OPT=-g -Os + +CFLAGS = $(OPT) -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` all: irqbalance LIBS=bitmap.o irqbalance.o cputree.o procinterrupts.o irqlist.o placement.o activate.o network.o powermode.o numa.o classify.o irqbalance: .depend $(LIBS) - gcc -g -O2 -D_FORTIFY_SOURCE=2 -Wall `pkg-config --libs glib-2.0` $(LIBS) -o irqbalance + $(CC) $(CFLAGS) $(LDFLAGS) -D_FORTIFY_SOURCE=2 -Wall $(LIBS) `pkg-config --libs glib-2.0` -o irqbalance clean: rm -f irqbalance *~ *.o .depend