]> git.pld-linux.org Git - packages/irqbalance.git/blob - irqbalance-pie.patch
- blah
[packages/irqbalance.git] / irqbalance-pie.patch
1 diff -urN irqbalance-0.55.org/Makefile irqbalance-0.55/Makefile
2 --- irqbalance-0.55.org/Makefile        2006-12-13 18:04:21.688605750 +0100
3 +++ irqbalance-0.55/Makefile    2006-12-13 18:04:40.813801000 +0100
4 @@ -1,14 +1,14 @@
5  
6  OPT=-g -Os
7  
8 -CFLAGS = $(OPT) -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0`
9 +CFLAGS = $(OPT) -D_FORTIFY_SOURCE=2 -Wall -W `pkg-config --cflags glib-2.0` -pie -fpie
10  
11  all: irqbalance
12  
13  LIBS=bitmap.o irqbalance.o cputree.o  procinterrupts.o irqlist.o placement.o activate.o network.o powermode.o numa.o classify.o
14  
15  irqbalance: .depend $(LIBS)
16 -       $(CC) $(CFLAGS) $(LDFLAGS) -D_FORTIFY_SOURCE=2 -Wall $(LIBS) `pkg-config --libs glib-2.0` -o irqbalance 
17 +       $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,relro,-z,now -pie -fpie -D_FORTIFY_SOURCE=2 -Wall $(LIBS) `pkg-config --libs glib-2.0` -o irqbalance 
18  
19  clean:
20         rm -f irqbalance *~ *.o .depend
This page took 0.041985 seconds and 3 git commands to generate.