Re: Building for both i386 and PPC on OS X

"Bram Stolk" <[email protected]> Thu, 18 Oct 2007 00:23:32 -0700
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
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.

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode