From 9422c00b50432b881d4068e835547b477a7bfcf5 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 1 Aug 2000 04:50:33 +0000 Subject: Stash away the largefiles flags and libswanted. p4raw-id: //depot/perl@6477 --- hints/solaris_2.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'hints/solaris_2.sh') 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 -- cgit v1.2.1