diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-01 04:50:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-01 04:50:33 +0000 |
commit | 9422c00b50432b881d4068e835547b477a7bfcf5 (patch) | |
tree | c9d0d6aa47b13afd07464bad5c4b05af5b265103 /hints/solaris_2.sh | |
parent | a7867d0afe06715af8daed54e07334b50c98a192 (diff) | |
download | perl-9422c00b50432b881d4068e835547b477a7bfcf5.tar.gz |
Stash away the largefiles flags and libswanted.
p4raw-id: //depot/perl@6477
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 6e84bace62..21b0b0e4f5 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -374,9 +374,15 @@ cat > UU/uselargefiles.cbu <<'EOCBU' # after it has prompted the user for whether to use large files. case "$uselargefiles" in ''|$define|true|[yY]*) - ccflags="$ccflags `getconf LFS_CFLAGS 2>/dev/null`" - ldflags="$ldflags `getconf LFS_LDFLAGS 2>/dev/null`" - libswanted="$libswanted `getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`" + +# Keep these in the left margin. +ccflags_largefiles="`getconf LFS_CFLAGS 2>/dev/null`" +ldflags_largefiles="`getconf LFS_LDFLAGS 2>/dev/null`" +libswanted_largefiles="`getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`" + + ccflags="$ccflags $ccflags_largefiles" + ldflags="$ldflags $ldflags_largefiles" + libswanted="$libswanted $libswanted_largefiles" ;; esac EOCBU |