From 2fc7463c0e5de1d57e0641e91616f9ffc0d663de Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Sep 2023 14:28:09 +0300 Subject: [PATCH] ; * INSTALL: Don't advertise -O3. (Bug#65988) --- INSTALL | 4 ++-- 1 file 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. -- 2.39.2