Submitted 21-Oct-00 by Chmouel Boudjnah:
> not true, gnupg was compiled on a machine who are updated in frozen not in
> cooker, where the CFLAGS is still :
> (chmou@no)[~]-% rpm --eval %optflags
> -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math
>-fexpensive-optimizations
The CFLAGS from RPM were right, but the incorrect CFLAGS are hardcoded in
the spec file:
. . .
%build
CFLAGS="${CFLAGS:--O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro
-march=pentiumpro -ffast-math -fexpensive-optimizations}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:--O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro
-march=pentiumpro -ffast-math -fexpensive-optimizations}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:--O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro
-march=pentiumpro -ffast-math -fexpensive-optimizations}" ; export FFLAGS ;
#[ -f configure.in ] && libtoolize --copy --force ;
./configure i686-mandrake-linux \
. . .
--
Anton Graham GPG ID: 0x18F78541
<[EMAIL PROTECTED]> RSA key available upon request
Asking a working writer what he thinks about critics is like asking a
lamp-post how it feels about dogs.
-- Christopher Hampton