Re: how to set CFLAGS variable for compiling Xorg

2008-11-06 Thread Peter Breitenlohner
On Wed, 5 Nov 2008, Peter Breitenlohner wrote: On Wed, 5 Nov 2008, Julien Cristau wrote: this is in a separate (new) file xorg-changelog-cmd.m4, such that we can use it before it is installed meh. we can just depend on xorg-macros 1.2... Hi Julien, yes (of course) for all other modules,

Re: how to set CFLAGS variable for compiling Xorg

2008-11-05 Thread Pat Kane
Thanks, got a patch? On Tue, Nov 4, 2008 at 12:30 PM, Julien Cristau [EMAIL PROTECTED] wrote: On Tue, Nov 4, 2008 at 08:44:17 -0800, Carl Worth wrote: But it's still awfully rude of the Makefiles to use CFLAGS for internal purposes so that the user can't augment things on the make command

Re: how to set CFLAGS variable for compiling Xorg

2008-11-05 Thread Peter Breitenlohner
On Wed, 5 Nov 2008, Pat Kane wrote: On Tue, Nov 4, 2008 at 12:30 PM, Julien Cristau [EMAIL PROTECTED] wrote: On Tue, Nov 4, 2008 at 08:44:17 -0800, Carl Worth wrote: But it's still awfully rude of the Makefiles to use CFLAGS for internal purposes so that the user can't augment things on the

Re: how to set CFLAGS variable for compiling Xorg

2008-11-05 Thread Julien Cristau
On Wed, Nov 5, 2008 at 11:26:21 +0100, Peter Breitenlohner wrote: this very same problem occurs in many (most?) modules. If you'd apply them I could prepare patches for that (against current git). There are, however, two or three related problems that maybe should be addressed at the same

Re: how to set CFLAGS variable for compiling Xorg

2008-11-05 Thread Peter Breitenlohner
On Wed, 5 Nov 2008, Alan Coopersmith wrote: The gcc warning macros should be easy to include in xorg-macros.m4, but I'm not sure what you can put there for the ChangeLog rule, except maybe a standard test for git log vs. git-log Hi Alan, I don't think such a test is needed. 'git CMD' is

Re: how to set CFLAGS variable for compiling Xorg

2008-11-05 Thread Alan Coopersmith
Peter Breitenlohner wrote: However, what I had in made was rather simple minded, e.g., [...] and in the top-level Makefile.am: ChangeLog: @CHANGELOG_CMD@ === That way the details of the command would be at one central place, much easier to maintain. Okay, makes

Re: how to set CFLAGS variable for compiling Xorg

2008-11-04 Thread Joel Feiner
You can do this when you run ./configure: ./configure --prefix=/usr CFLAGS=-g3 -O0 You probably want to run 'make distclean' first. ludo wrote: Hi, I'd like to compile Xorg with debugging info (-g3 -O0 flags) I have tried to use make CFLAGS=my flags but this method corrupts the

Re: how to set CFLAGS variable for compiling Xorg

2008-11-04 Thread Julien Cristau
On Tue, Nov 4, 2008 at 08:44:17 -0800, Carl Worth wrote: But it's still awfully rude of the Makefiles to use CFLAGS for internal purposes so that the user can't augment things on the make command line. Agreed. Should be fixed now for libXfont; feel free to complain if you run into the same