On Fri, Apr 03, 2009 at 02:27:09PM -0500, DRC wrote:
> Adam Tkac wrote:
> > This doesn't look like proper approach for me. I think you should use
> > shell script for such specific build.
> >   
> OK, so please suggest an alternate method that:
> 
> (a) adds -m32 to the CFLAGS and CXXFLAGS and LDFLAGS
> (b) does not disable the default optimization setting
> 
> I can't think of a way to do that from a separate script.

Hm, let's wait for Pierre's and/or Peter's opinion. But I vote for
separate script (which won't be commited into svn repo)

> > Question is if we want to use -O3 for libjpeg. Are you sure that we
> > don't have any statement in jpeg code which is incompatible with -O3?
> > If no and -O3 helps we should use it instead of O2.
> >   
> How would I make it the default for the jpeg build?

You can include those lines to jpeg/configure.ac:

CFLAGS="$CFLAGS -O3"
CXXFLAGS="$CXXFLAGS -O3"

Adam

-- 
Adam Tkac, Red Hat, Inc.

------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to