Date: Fri, 21 Jun 2002 20:12:38 +0200 From: Stefan Esser <se@freebsd.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Yamada Ken Takeshi <ken@tydfam.jp>, freebsd-current@FreeBSD.ORG Subject: [Patch] Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries Message-ID: <20020621181238.GB608@StefanEsser.FreeBSD.org> In-Reply-To: <20020621123351.GA68390@StefanEsser.FreeBSD.org> References: <20020608.171312.730576735.ken@tydfam.jp> <20020608013938.B5755@xor.obsecurity.org> <20020608092926.GA2635@StefanEsser.FreeBSD.org> <20020616023918.C12427@xor.obsecurity.org> <20020621123351.GA68390@StefanEsser.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-06-21 14:33 +0200, Stefan Esser <se@FreeBSD.ORG> wrote: Following up to my own mail: Seems that translate.c is built from other directories as well, not just from within OSmesa. See the following patch, which is "files/patch-GL_mesa_src_Imakefile" on my system: --- lib/GL/mesa/src/Imakefile.orig Wed May 2 17:06:02 2001 +++ lib/GL/mesa/src/Imakefile Fri Jun 21 15:49:39 2002 @@ -51,6 +51,13 @@ #include <Library.tmpl> +#if defined(__GNUC__) && __GNUC__ >= 3 +#define ObjectCompile(options) RemoveFile($@) @@\ + ClearmakeOSName \ + $(CC) -c $(CFLAGS) options $*.c -o $@ || \ + $(CC) -c $(CFLAGS) options -O0 $*.c -o $@ +#endif + LibraryObjectRule() SubdirLibraryRule($(OBJS)) Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621181238.GB608>