Geoffrey Lee <[EMAIL PROTECTED]> writes:
> > Excuse me, but am I reading this correctly? Take a look at the .spec
> > file of xpp:
> >
> > CFLAGS="${CFLAGS:--O3 -fomit-frame-pointer -fno-exceptions -fno-rtti
> > -pipe -s -mCXXFLAGS="${CXXFLAGS:--O3 -fomit-frame-pointer
> > -fno-exceptions -fno-rtti -pipe -FFLAGS="${FFLAGS:--O3
> > -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -m[ -f
> > configure.in ] && libtoolize --copy --force ;
> > ./configure i586-mandrake-linux \
> > ^^^^^^^^^^^^^^^^^^^
> > --prefix=/usr \
> > --exec-prefix=/usr \
> > --bindir=/usr/bin \
> > --sbindir=/usr/sbin \
> > --sysconfdir=/etc \
> > --datadir=/usr/share \
> > --includedir=/usr/include \
> > --libdir=/usr/lib \
> > --libexecdir=/usr/lib \
> > --localstatedir=/var/state \
> > --sharedstatedir=/usr/com \
> > --mandir=/usr/share/man \
> > %make
> >
>
>
> Are you talking about %configure expanded, or are you talking about this
> bloat in the spec? you have to be kidding me ...
yes -- this is in the spec.
till, you should use:
export CXXFLAGS="--O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations"
%configure
because you want to override the CXXFLAGS of %configure ; and this is the
correct way to do that.
--
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/