Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61868
Collapse All | Expand All

(-)zlib-1.2.1.old/configure (-1 / +5 lines)
Lines 73-79 Link Here
73
73
74
if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
74
if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
75
  CC="$cc"
75
  CC="$cc"
76
  SFLAGS=${CFLAGS-"-fPIC -O3"}
76
  #SFLAGS=${CFLAGS-"-fPIC -O3"}
77
  # the above is horribly wrong on a few archs where -fPIC should ALWAYS be
78
  # used in the creation of shared libraries. without the following, the
79
  # shared lib test will sometimes fail even when shared libs -can- be created.
80
  SFLAGS="${CFLAGS-"-O3"} -fPIC"
77
  CFLAGS="$cflags"
81
  CFLAGS="$cflags"
78
  case `(uname -s || echo unknown) 2>/dev/null` in
82
  case `(uname -s || echo unknown) 2>/dev/null` in
79
  Linux | linux | GNU | GNU/*)
83
  Linux | linux | GNU | GNU/*)

Return to bug 61868