summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-09-15 14:28:09 +0300
committerEli Zaretskii <eliz@gnu.org>2023-09-15 14:28:09 +0300
commit2fc7463c0e5de1d57e0641e91616f9ffc0d663de (patch)
treecb150cd3f24536741a91a38bec562d459f57f869 /INSTALL
parent29055412f2d99efbce09447cf88fca567eeafc86 (diff)
downloademacs-2fc7463c0e5de1d57e0641e91616f9ffc0d663de.tar.gz
; * INSTALL: Don't advertise -O3. (Bug#65988)
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL4
1 files changed, 2 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 2bb8df52dc9..28483b41726 100644
--- a/INSTALL
+++ b/INSTALL
@@ -492,12 +492,12 @@ shell such as Bash, which uses these variables:
./configure \
CPPFLAGS='-I/foo/myinclude' LDFLAGS='-L/bar/mylib' \
- CFLAGS='-O3' LIBS='-lfoo -lbar'
+ CFLAGS='-Og' LIBS='-lfoo -lbar'
(this is all one shell command). This tells 'configure' to instruct the
preprocessor to look in the '/foo/myinclude' directory for header
files (in addition to the standard directories), instruct the linker
-to look in '/bar/mylib' for libraries, pass the -O3 optimization
+to look in '/bar/mylib' for libraries, pass the -Og optimization
switch to the compiler, and link against libfoo and libbar
libraries in addition to the standard ones.