This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc
authorAlan Burlison <Alan.Burlison@uk.sun.com>
Tue, 21 Oct 2003 15:00:58 +0000 (16:00 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 27 Oct 2003 16:09:37 +0000 (16:09 +0000)
Message-ID: <3F953C1A.3060800@sun.com>

p4raw-id: //depot/perl@21554

hints/solaris_2.sh

index 5763ee2..965f49d 100644 (file)
@@ -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