]> granicus.if.org Git - python/commitdiff
Change the example of configuring for large file support under Solaris
authorFred Drake <fdrake@acm.org>
Wed, 26 May 1999 13:03:34 +0000 (13:03 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 26 May 1999 13:03:34 +0000 (13:03 +0000)
to use `getconf LFS_CFLAGS`.  Steve Clift (the author of the section
and large file support) agrees that this is the right thing to do.

Doc/lib/libposix.tex

index 1e7016d4f99f183ac3a3bd78f2477bb74a01b468..0c0339fc85f6c23697d99effb7d6f24aa5c90920 100644 (file)
@@ -55,7 +55,7 @@ this mode. For example, it is enabled by default with recent versions
 of Irix, but with Solaris 2.6 and 2.7 you need to do something like:
 
 \begin{verbatim}
-CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-g -O2 $CFLAGS" \
+CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" \
         configure
 \end{verbatim} % $ <-- bow to font-lock