diff -urN irqbalance-0.55.org/Makefile irqbalance-0.55/Makefile --- irqbalance-0.55.org/Makefile 2006-12-13 18:04:21.688605750 +0100 +++ irqbalance-0.55/Makefile 2006-12-13 18:04:40.813801000 +0100 @@ -1,14 +1,14 @@ OPT=-g -Os -CFLAGS = $(OPT) -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` +CFLAGS = $(OPT) -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` -pie -fpie 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) - $(CC) $(CFLAGS) $(LDFLAGS) -D_FORTIFY_SOURCE=2 -Wall $(LIBS) `pkg-config --libs glib-2.0` -o irqbalance + $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,relro,-z,now -pie -fpie -D_FORTIFY_SOURCE=2 -Wall $(LIBS) `pkg-config --libs glib-2.0` -o irqbalance clean: rm -f irqbalance *~ *.o .depend