1 --- rpm-4.1/beecrypt/configure.ac.orig Sat Jun 15 20:49:02 2002
2 +++ rpm-4.1/beecrypt/configure.ac Sun Nov 24 19:51:39 2002
7 -# Initialize tool flags
12 # Checks for compiler characteristics and flags
13 if test "$ac_cv_prog_gcc" != yes; then
14 AC_CACHE_CHECK([whether we are using Sun Workshop C], ac_cv_prog_SUNPRO_CC, [
18 if test "$ac_cv_prog_gcc" = yes; then
19 - CFLAGS="$CFLAGS -O3 -g"
20 if test "$ac_enable_optimized" = yes; then
22 # This switch makes the mp32 routines slower by about 10%, so it's disabled
24 CFLAGS="$CFLAGS -fomit-frame-pointer"
27 - CFLAGS="$CFLAGS -march=i386 -mcpu=i686 -fomit-frame-pointer"
28 + CFLAGS="$CFLAGS -fomit-frame-pointer"
31 - CFLAGS="$CFLAGS -march=i386 -mcpu=i686 -fomit-frame-pointer"
32 + CFLAGS="$CFLAGS -fomit-frame-pointer"
35 - CFLAGS="$CFLAGS -march=i386 -mcpu=i686 -fomit-frame-pointer"
36 + CFLAGS="$CFLAGS -fomit-frame-pointer"
39 - CFLAGS="$CFLAGS -march=i386 -mcpu=i686 -fomit-frame-pointer"
40 + CFLAGS="$CFLAGS -fomit-frame-pointer"
43 CFLAGS="$CFLAGS -m32 -mtune=ultrasparc"
45 if test "$ac_enable_threads" = yes; then
46 CFLAGS="$CFLAGS -pthread"
49 - CFLAGS="$CFLAGS -O2"