From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerome Brown Subject: Re: Inheriting CFLAGS Date: Wed, 17 Nov 2004 14:44:59 +1300 Message-ID: <419AAD1B.9090107@orcon.net.nz> References: <200411162232.55362.jan.kundrat@fzu.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org The modified ebuild on bugs.gentoo.org has a sed command to update the=20 Rules.mk file to inherit the cflags that you set in make.conf Is all go now (YAY!) Jerome A Streetcar Named wrote: > On Tue, 16 Nov 2004 22:32:55 +0100, Jan Kundr=E1t = wrote: >=20 >>CFLAGS :=3D -nostdinc -fno-builtin -fno-common -fno-strict-aliasing >>CFLAGS +=3D -iwithprefix include -Wall -Werror -pipe >>CFLAGS +=3D -I$(BASEDIR)/include -Wno-pointer-arith -Wredundant-decls >> >>ifeq ($(optimize),y) >>CFLAGS +=3D -O3 -march=3Dpentium2 -pipe -fomit-frame-pointer >=20 >=20 > It looks like the ebuild changed the last line above to that (I assume > your CFLAGS env variable is -O3 -march=3Dpentium2 -pipe). I didn't use= > the ebuild, so I had the default line of CFLAGS +=3D -O3 > -fomit-frame-pointer, and found that I had to add -nopie and > -fno-stack-protector to compile xen. >=20 > Perhaps -march=3Dpentium2 fixed it for you? Or perhaps those were just= > somethings special I had to do on the crusoe?!? >=20 >=20 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8