From: Alan Burlison Date: Tue, 21 Oct 2003 15:00:58 +0000 (+0100) Subject: Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdbbaea84775b113e4dba26602bfec39cd9d5dd0;p=p5sagit%2Fp5-mst-13.2.git Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc Message-ID: <3F953C1A.3060800@sun.com> p4raw-id: //depot/perl@21554 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 5763ee2..965f49d 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -334,20 +334,6 @@ END 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