Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124900 | Differences between
and this patch

Collapse All | Expand All

(-)beecrypt-4.1.2/acinclude.m4 (-6 / +4 lines)
Lines 454-462 AC_DEFUN([BEECRYPT_GNU_CC],[ Link Here
454
      ;;
454
      ;;
455
    esac
455
    esac
456
  fi
456
  fi
457
  if test "$ac_enable_debug" = yes; then
457
  if true; then
458
    BEECRYPT_CFLAGS_REM([-O2])
458
    CFLAGS="$CFLAGS -Wall"
459
    CFLAGS="$CFLAGS -Wall -pedantic"
460
  else
459
  else
461
    # Generic optimizations, including cpu tuning
460
    # Generic optimizations, including cpu tuning
462
    BEECRYPT_CFLAGS_REM([-g])
461
    BEECRYPT_CFLAGS_REM([-g])
Lines 566-574 AC_DEFUN([BEECRYPT_GNU_CXX],[ Link Here
566
      ;;
565
      ;;
567
    esac
566
    esac
568
  fi
567
  fi
569
  if test "$ac_enable_debug" = yes; then
568
  if true; then
570
    BEECRYPT_CXXFLAGS_REM([-O2])
569
    CXXFLAGS="$CXXFLAGS -Wall"
571
    CXXFLAGS="$CXXFLAGS -Wall -pedantic"
572
  else
570
  else
573
    # Generic optimizations, including cpu tuning
571
    # Generic optimizations, including cpu tuning
574
    BEECRYPT_CXXFLAGS_REM([-g])
572
    BEECRYPT_CXXFLAGS_REM([-g])
(-)beecrypt-4.1.2/configure.ac (-28 / +11 lines)
Lines 501-520 if test "$ac_enable_debug" != yes; then Link Here
501
  arm*)
501
  arm*)
502
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
502
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
503
    ;;
503
    ;;
504
  athlon*)
505
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386 -DOPTIMIZE_MMX"
506
    CFLAGS="$CFLAGS -mmmx"
507
    ;;
508
  i386)
504
  i386)
509
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386"
505
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386"
510
    ;;
506
    ;;
511
  i486)
507
  i486)
512
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I486"
508
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I486"
513
    ;;
509
    ;;
514
  i586)
510
  i586|pentium|pentium-mmx)
515
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586"
511
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586"
516
    ;;
512
    ;;
517
  i686)
513
  i686|pentium*)
514
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686"
515
    ;;
516
  nocona)
517
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X68_64"
518
    ;;
519
  athlon64|athlon-fx|opteron|k8)
520
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X68_64"
521
    ;;
522
  athlon*)
518
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686"
523
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686"
519
    ;;
524
    ;;
520
  ia64)
525
  ia64)
Lines 523-550 if test "$ac_enable_debug" != yes; then Link Here
523
  m68k)
528
  m68k)
524
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_M68K"
529
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_M68K"
525
    ;;
530
    ;;
526
  pentium)
527
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586"
528
    ;;
529
  pentium-mmx)
530
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586 -DOPTIMIZE_MMX"
531
    CFLAGS="$CFLAGS -mmmx"
532
    ;;
533
  pentiumpro)
534
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686"
535
    ;;
536
  pentium2)
537
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX"
538
    CFLAGS="$CFLAGS -mmmx"
539
    ;;
540
  pentium3)
541
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE"
542
    CFLAGS="$CFLAGS -msse"
543
    ;;
544
  pentium4)
545
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE -DOPTIMIZE_SSE2"
546
    CFLAGS="$CFLAGS -msse2"
547
    ;;
548
  powerpc)
531
  powerpc)
549
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POWERPC"
532
    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POWERPC"
550
    ;;
533
    ;;

Return to bug 124900