[Lunar-commits] CVS: moonbase/utils/hdparm BUILD,1.4,1.5

Jerry Lundström prox at lunar-linux.org
Tue Aug 10 09:32:39 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/hdparm
In directory dbguin.lunar-linux.org:/tmp/cvs-serv19693

Modified Files:
	BUILD 
Log Message:
cleaned up regexp to remove -O2 where ever it is in the CFLAGS, also adding CFLAGS isnt needed since its added in the end in the Makefile

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/hdparm/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD	30 Jan 2004 19:40:41 -0000	1.4
+++ BUILD	10 Aug 2004 09:32:36 -0000	1.5
@@ -1,6 +1,5 @@
 (
-
-  sedit  "s/-O2/$CFLAGS $LDFLAGS/"  Makefile &&
+  sedit 's/^ *CFLAGS *:= *\(.*\) *-O2 *\(.*\)/CFLAGS := \1 \2/' Makefile &&
   make                   &&
   prepare_install        &&
   make  destdir=/usr           \



More information about the Lunar-commits mailing list