View | Details | Raw Unified
Collapse All | Expand All

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