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

Collapse All | Expand All

(-)a/configure (-2 / +2 lines)
Lines 1965-1979 Link Here
1965
if test "$ac_test_CFLAGS" = set; then
1965
if test "$ac_test_CFLAGS" = set; then
1966
  CFLAGS=$ac_save_CFLAGS
1966
  CFLAGS=$ac_save_CFLAGS
1967
elif test $ac_cv_prog_cc_g = yes; then
1967
elif test $ac_cv_prog_cc_g = yes; then
1968
  if test "$GCC" = yes; then
1968
  if test "$GCC" = yes; then
1969
    CFLAGS="-g -O2"
1969
    CFLAGS="-g"
1970
  else
1970
  else
1971
    CFLAGS="-g"
1971
    CFLAGS="-g"
1972
  fi
1972
  fi
1973
else
1973
else
1974
  if test "$GCC" = yes; then
1974
  if test "$GCC" = yes; then
1975
    CFLAGS="-O2"
1975
    CFLAGS=
1976
  else
1976
  else
1977
    CFLAGS=
1977
    CFLAGS=
1978
  fi
1978
  fi
1979
fi
1979
fi
(-)a/cnf/configure.out (-10 / +10 lines)
Lines 1930-1944 Link Here
1930
if test "$ac_test_CFLAGS" = set; then
1930
if test "$ac_test_CFLAGS" = set; then
1931
  CFLAGS=$ac_save_CFLAGS
1931
  CFLAGS=$ac_save_CFLAGS
1932
elif test $ac_cv_prog_cc_g = yes; then
1932
elif test $ac_cv_prog_cc_g = yes; then
1933
  if test "$GCC" = yes; then
1933
  if test "$GCC" = yes; then
1934
    CFLAGS="-g -O2"
1934
    CFLAGS="-g "
1935
  else
1935
  else
1936
    CFLAGS="-g"
1936
    CFLAGS="-g"
1937
  fi
1937
  fi
1938
else
1938
else
1939
  if test "$GCC" = yes; then
1939
  if test "$GCC" = yes; then
1940
    CFLAGS="-O2"
1940
    CFLAGS=""
1941
  else
1941
  else
1942
    CFLAGS=
1942
    CFLAGS=
1943
  fi
1943
  fi
1944
fi
1944
fi
Lines 3708-3724 Link Here
3708
  echo $ECHO_N "(cached) $ECHO_C" >&6
3708
  echo $ECHO_N "(cached) $ECHO_C" >&6
3709
else
3709
else
3710
   case "$host-$CC" in
3710
   case "$host-$CC" in
3711
    *-gcc | *-linux*-cc )
3711
    *-gcc | *-linux*-cc )
3712
     	gp_cv_cflags="-Wall -g -O2";;
3712
     	gp_cv_cflags="-Wall -g ";;
3713
    i686-*-egcs )
3713
    i686-*-egcs )
3714
        gp_cv_cflags="-Wall -g -O2 -mcpu=i686";;
3714
        gp_cv_cflags="-Wall -g  -mcpu=i686";;
3715
    i586-*-egcs )
3715
    i586-*-egcs )
3716
        gp_cv_cflags="-Wall -g -O2 -mcpu=i586";;
3716
        gp_cv_cflags="-Wall -g  -mcpu=i586";;
3717
    i486-*-egcs )
3717
    i486-*-egcs )
3718
        gp_cv_cflags="-Wall -g -O2 -mcpu=i486";;
3718
        gp_cv_cflags="-Wall -g  -mcpu=i486";;
3719
    i386-*-egcs )
3719
    i386-*-egcs )
3720
        gp_cv_cflags="-Wall -g -O2 -mcpu=i386";;
3720
        gp_cv_cflags="-Wall -g  -mcpu=i386";;
3721
    alphaev6-*-osf4*-cc )
3721
    alphaev6-*-osf4*-cc )
3722
	gp_cv_cflags="-g3 -arch ev6 -O1 ";;
3722
	gp_cv_cflags="-g3 -arch ev6 -O1 ";;
3723
    alphaev56-*-osf4*-cc )
3723
    alphaev56-*-osf4*-cc )
3724
	gp_cv_cflags="-g3 -arch ev56 -O1";;
3724
	gp_cv_cflags="-g3 -arch ev56 -O1";;
Lines 3774-3786 Link Here
3774
   case "$host-$CC" in
3774
   case "$host-$CC" in
3775
    *-hpux-gcc )
3775
    *-hpux-gcc )
3776
        gp_cv_prog_cc_cdynoptions="-fpic";;
3776
        gp_cv_prog_cc_cdynoptions="-fpic";;
3777
    *-gcc | *-egcs )
3777
    *-gcc | *-egcs )
3778
     	gp_cv_prog_cc_cdynoptions="-fpic -Wall -O2";;
3778
     	gp_cv_prog_cc_cdynoptions="-fpic -Wall ";;
3779
    *-next-nextstep-cc )
3779
    *-next-nextstep-cc )
3780
        gp_cv_prog_cc_cdynoptions=" -Wall -O2 -arch $hostcpu";;
3780
        gp_cv_prog_cc_cdynoptions=" -Wall  -arch $hostcpu";;
3781
    *-osf*-cc )
3781
    *-osf*-cc )
3782
	gp_cv_prog_cc_cdynoptions=" -shared -x -O2";;
3782
	gp_cv_prog_cc_cdynoptions=" -shared -x ";;
3783
    *-irix* )
3783
    *-irix* )
3784
        gp_cv_prog_cc_cdynoptions=" -O3 -woff 1110,1167,1174,1552";;
3784
        gp_cv_prog_cc_cdynoptions=" -O3 -woff 1110,1167,1174,1552";;
3785
3785
3786
    * )
3786
    * )

Return to bug 49282