From: Thomas G. Lockhart Date: Tue, 28 Apr 1998 14:55:45 +0000 (+0000) Subject: Include info on setting compiler options on the command line X-Git-Tag: REL6_4_2~1049 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7fa77e60c0229ecf8abbd43f0c34c060144d9b0;p=postgresql Include info on setting compiler options on the command line when building executables. --- diff --git a/doc/src/sgml/install.sgml b/doc/src/sgml/install.sgml index 06b284882f..9a67c98640 100644 --- a/doc/src/sgml/install.sgml +++ b/doc/src/sgml/install.sgml @@ -430,6 +430,17 @@ Compile the program. Type change directory back to this directory, type "make clean", then recompile again. + + + Compiler options, such as optimization and debugging, may + be specified on the command line using the COPT variable. + For example, typing + + gmake COPT="-g" all >& make.log & + + would invoke your compiler's -g option in all steps of the + build. See src/Makefile.global.in for further details. +