Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2007 08:54:02 -0400 (EDT)
From:      "Mikhail T." <mi@aldan.algebra.com>
To:        ahze@FreeBSD.org
Cc:        multimedia@FreeBSD.org
Subject:   minor improvement to devel/liboil
Message-ID:  <200708151254.l7FCs2BH098003@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hello!

The attached patch:

	a) makes CFLAGS neater (no repetative -O*);
	b) scales the build to the number of processors --
	   tested on my quad Opteron system.

Please, commit or allow me to. Thanks! Yours,

	-mi

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/liboil/Makefile,v
retrieving revision 1.26
diff -U2 -r1.26 Makefile
--- Makefile	5 Jun 2007 16:15:33 -0000	1.26
+++ Makefile	15 Aug 2007 12:52:51 -0000
@@ -21,5 +21,6 @@
 CONFIGURE_ARGS=	--disable-gtk-doc \
 		--disable-glib
-CFLAGS+=	-O2
+CFLAGS:=	${CFLAGS:N-O*} -O2
+MAKE_ARGS+=	-j`${SYSCTL} -n hw.ncpu`
 
 .include <bsd.port.pre.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708151254.l7FCs2BH098003>