From: Eli Zaretskii Date: Fri, 15 Sep 2023 11:28:09 +0000 (+0300) Subject: ; * INSTALL: Don't advertise -O3. (Bug#65988) X-Git-Tag: emacs-29.1.90~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2fc7463c0e5;p=emacs.git ; * INSTALL: Don't advertise -O3. (Bug#65988) --- 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.