SOURCES: irqbalance-pie.patch, irqbalance-opt.patch - update

arekm arekm at pld-linux.org
Wed Dec 13 17:10:58 CET 2006


Author: arekm                        Date: Wed Dec 13 16:10:57 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update

---- Files affected:
SOURCES:
   irqbalance-pie.patch (1.3 -> 1.4) , irqbalance-opt.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/irqbalance-pie.patch
diff -u SOURCES/irqbalance-pie.patch:1.3 SOURCES/irqbalance-pie.patch:1.4
--- SOURCES/irqbalance-pie.patch:1.3	Sat Aug 19 21:32:42 2006
+++ SOURCES/irqbalance-pie.patch	Wed Dec 13 17:10:52 2006
@@ -1,10 +1,20 @@
---- kernel-utils-2.4/irqbalance/Makefile.orig	2003-10-24 10:51:51.000000000 +0200
-+++ kernel-utils-2.4/irqbalance/Makefile	2004-02-16 11:49:15.315444000 +0100
-@@ -1,6 +1,6 @@
- 
- irqbalance: irqbalance.c cpuinfo.c prototypes.h Makefile procinterrupts.c classify.c policy.c 
--	$(CC) $(CFLAGS) irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c  -o irqbalance
-+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,relro,-z,now -pie -fpie irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c  -o irqbalance
+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 @@
  
- debug: irqbalance.c cpuinfo.c prototypes.h Makefile procinterrupts.c classify.c policy.c  debug.c
- 	$(CC) irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c debug.c -DDEBUG -o irqbalance
+ 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

================================================================
Index: SOURCES/irqbalance-opt.patch
diff -u SOURCES/irqbalance-opt.patch:1.2 SOURCES/irqbalance-opt.patch:1.3
--- SOURCES/irqbalance-opt.patch:1.2	Mon Dec 15 01:09:05 2003
+++ SOURCES/irqbalance-opt.patch	Wed Dec 13 17:10:52 2006
@@ -1,11 +1,20 @@
---- irqbalance/Makefile.orig	2003-10-24 10:51:51.000000000 +0200
-+++ irqbalance/Makefile	2003-12-15 01:12:59.403007304 +0100
-@@ -3,7 +3,7 @@
- 	$(CC) $(CFLAGS) irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c  -o irqbalance
+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`
  
- debug: irqbalance.c cpuinfo.c prototypes.h Makefile procinterrupts.c classify.c policy.c  debug.c
--	$(CC) irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c debug.c -DDEBUG -o irqbalance
-+	$(CC) $(CFLAGS) irqbalance.c cpuinfo.c procinterrupts.c classify.c policy.c debug.c -DDEBUG -o irqbalance
+ all: irqbalance
  
- irqbalance.1: irqbalance.xml
- 	xmlto man irqbalance.xml
+ 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/irqbalance-pie.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SOURCES/irqbalance-opt.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list