Re: Building for both i386 and PPC on OS X
Samuli Riihonen <[email protected]> Thu, 18 Oct 2007 10:49:24 +0300
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
Yes, after modifying configure.in, my flags are again taken into account. It says: dnl Set CFLAGS to zero, so that we avoid getting the gratis -g -O2 Is this intended behaviour to always empty the said flags? - Samuli On 18.10.2007, at 10.23, Bram Stolk wrote: > Works for me: > > CXXFLAGS="-Wall -O3" ./configure --prefix=/tmp > > ... > > make[2]: Entering directory `/home/bram/src/opende/drawstuff/src' > if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -g -I../../ > include -I../../include -Wall -O3 -g -I -L -MT libdrawstuff_a- > drawstuff.o -MD -MP -MF ".deps/libdrawstuff_a-drawstuff.Tpo" -c -o > libdrawstuff_a-drawstuff.o `test -f 'drawstuff.cpp' || echo > './'`drawstuff.cpp; \ > then mv -f ".deps/libdrawstuff_a- drawstuff.Tpo" ".deps/ > libdrawstuff_a-drawstuff.Po"; else rm -f ".deps/libdrawstuff_a- > drawstuff.Tpo"; exit 1; fi > > But if it does not for you, take out the CFLAGS= and CXXFLAGS= from > configure.in and run autogen.sh > > bram > > > On 10/17/07, Samuli Riihonen <[email protected]> wrote: Hello again. > > Has something been changed in the build system between 0.8 and 0.9 > that disables the environmental CFLAGS and CXXFLAGS? > For some reason it seems that these values do not end up in the > generated Makefiles anymore. > > - Samuli > > > > -- > Zapp: Captain's log, stardate...er.. > Kif: Ohhh. April 13th. > Zapp: April 13th. Point 2.