On 2002-06-21 14:33 +0200, Stefan Esser <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message