|
|
sybperl-l Archive
Up Prev Next
From: Alan Burlison <Alan dot Burlison at sun dot com>
Subject: Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris,
gcc 3.x
Date: Oct 21 2003 2:00PM
*** hints/solaris_2.sh.orig Tue Oct 21 12:17:27 2003
--- hints/solaris_2.sh Tue Oct 21 12:17:48 2003
***************
*** 334,353 ****
fi
fi
- # Check to see if the selected compiler and linker
- # support the -z ignore, -z lazyload and -z combreloc flags.
- echo "int main() { return(0); } " > try.c
- zflgs=''
- for zf in ignore lazyload combreloc; do
- if ${cc:-cc} -o try try.c -z $zf > /dev/null 2>&1; then
- zflgs="$zflgs -z $zf"
- fi
- done
- if test -n "$zflgs"; then
- ccdlflags="$ccdlflags $zflgs"
- lddlflags="$lddlflags -G $zflgs"
- fi
-
# as --version or ld --version might dump core.
rm -f try try.c core
EOCBU
--- 334,339 ----
|