Welcome! Log In Create A New Profile

Advanced

[PATCH] Configure: increase the default optimization level to -O2

Piotr Sikora via nginx-devel
May 02, 2024 05:36PM
# HG changeset patch
# User Piotr Sikora <piotr@aviatrix.com>
# Date 1714589900 0
# Wed May 01 18:58:20 2024 +0000
# Node ID 429191aad8d3ab8f70d40dfdd7684a256357bc48
# Parent 49dce50fad40bf09db81ca2a35983ecd7b740e43
Configure: increase the default optimization level to -O2.

Signed-off-by: Piotr Sikora <piotr@aviatrix.com>

diff -r 49dce50fad40 -r 429191aad8d3 auto/cc/clang
--- a/auto/cc/clang Tue Apr 16 18:29:59 2024 +0400
+++ b/auto/cc/clang Wed May 01 18:58:20 2024 +0000
@@ -19,9 +19,9 @@

# optimizations

-#NGX_CLANG_OPT="-O2"
+NGX_CLANG_OPT="-O2"
#NGX_CLANG_OPT="-Oz"
-NGX_CLANG_OPT="-O"
+#NGX_CLANG_OPT="-O"

case $CPU in
pentium)
diff -r 49dce50fad40 -r 429191aad8d3 auto/cc/gcc
--- a/auto/cc/gcc Tue Apr 16 18:29:59 2024 +0400
+++ b/auto/cc/gcc Wed May 01 18:58:20 2024 +0000
@@ -48,9 +48,9 @@

# optimizations

-#NGX_GCC_OPT="-O2"
+NGX_GCC_OPT="-O2"
#NGX_GCC_OPT="-Os"
-NGX_GCC_OPT="-O"
+#NGX_GCC_OPT="-O"

#CFLAGS="$CFLAGS -fomit-frame-pointer"

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Configure: increase the default optimization level to -O2

Piotr Sikora via nginx-devel 330 May 02, 2024 05:36PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready