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

Collapse All | Expand All

(-)pearpc-0.5_original/configure (-27 / +6 lines)
Lines 2645-2657 Link Here
2645
PPC_LDFLAGS="$LDFLAGS"
2645
PPC_LDFLAGS="$LDFLAGS"
2646
PPC_CCASFLAGS=""
2646
PPC_CCASFLAGS=""
2647
2647
2648
if test "x$enable_release" = "xyes"; then
2648
PPC_CFLAGS="$CFLAGS $PPC_CFLAGS"
2649
	PPC_CFLAGS="$CFLAGS $PPC_CFLAGS -O3"
2649
PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS"
2650
	PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS -O3"
2651
else
2652
	PPC_CFLAGS="$PPC_CFLAGS -O0"
2653
	PPC_CXXFLAGS="$PPC_CXXFLAGS -O0"
2654
fi
2655
2650
2656
if test "x$enable_fpo" = "xyes"; then
2651
if test "x$enable_fpo" = "xyes"; then
2657
	PPC_CFLAGS="$PPC_CFLAGS -fomit-frame-pointer"
2652
	PPC_CFLAGS="$PPC_CFLAGS -fomit-frame-pointer"
Lines 4173-4189 Link Here
4173
if test "$ac_test_CFLAGS" = set; then
4168
if test "$ac_test_CFLAGS" = set; then
4174
  CFLAGS=$ac_save_CFLAGS
4169
  CFLAGS=$ac_save_CFLAGS
4175
elif test $ac_cv_prog_cc_g = yes; then
4170
elif test $ac_cv_prog_cc_g = yes; then
4176
  if test "$GCC" = yes; then
4171
  CFLAGS="-g"
4177
    CFLAGS="-g -O2"
4178
  else
4179
    CFLAGS="-g"
4180
  fi
4181
else
4172
else
4182
  if test "$GCC" = yes; then
4173
  CFLAGS=
4183
    CFLAGS="-O2"
4184
  else
4185
    CFLAGS=
4186
  fi
4187
fi
4174
fi
4188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4189
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
Lines 4710-4726 Link Here
4710
if test "$ac_test_CXXFLAGS" = set; then
4697
if test "$ac_test_CXXFLAGS" = set; then
4711
  CXXFLAGS=$ac_save_CXXFLAGS
4698
  CXXFLAGS=$ac_save_CXXFLAGS
4712
elif test $ac_cv_prog_cxx_g = yes; then
4699
elif test $ac_cv_prog_cxx_g = yes; then
4713
  if test "$GXX" = yes; then
4700
  CXXFLAGS="-g"
4714
    CXXFLAGS="-g -O2"
4715
  else
4716
    CXXFLAGS="-g"
4717
  fi
4718
else
4701
else
4719
  if test "$GXX" = yes; then
4702
  CXXFLAGS=
4720
    CXXFLAGS="-O2"
4721
  else
4722
    CXXFLAGS=
4723
  fi
4724
fi
4703
fi
4725
ac_ext=c
4704
ac_ext=c
4726
ac_cpp='$CPP $CPPFLAGS'
4705
ac_cpp='$CPP $CPPFLAGS'

Return to bug 380021