Skip to content

Commit

Permalink
add NGINXCOMPILE_FORMATSEC variable in 123.09beta01
Browse files Browse the repository at this point in the history
- variable controls whether or not nginx is compiled with -Wformat -Werror=format-security flags which is the normal default set flags
  • Loading branch information
centminmod committed Nov 20, 2017
1 parent 1aa214f commit dbdc47a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
1 change: 1 addition & 0 deletions centmin.sh
Expand Up @@ -324,6 +324,7 @@ NGX_GSPLITDWARF='y' # for Nginx compile https://community.centminmod.c
PHP_GSPLITDWARF='y' # for PHP compile https://community.centminmod.com/posts/44072/
PHP_LTO='n' # enable -flto compiler for GCC 4.8.5+ PHP-FPM compiles currently not working with PHP 7.x
NGX_LDGOLD='y' # for Nginx compile i.e. passing ld.gold linker -fuse-ld=bfd or -fuse-ld=gold https://community.centminmod.com/posts/44037/
NGINXCOMPILE_FORMATSEC='y' # whether or not nginx is compiled with -Wformat -Werror=format-security flags

# When set to =y, will disable those listed installed services
# by default. The service is still installed but disabled
Expand Down
1 change: 1 addition & 0 deletions example/custom_config.inc
Expand Up @@ -47,6 +47,7 @@ NGX_GSPLITDWARF='y' # for Nginx compile https://community.centminmod.c
PHP_GSPLITDWARF='y' # for PHP compile https://community.centminmod.com/posts/44072/
PHP_LTO='n' # enable -flto compiler for GCC 4.8.5+ PHP-FPM compiles currently not working with PHP 7.x
NGX_LDGOLD='y' # for Nginx compile i.e. passing ld.gold linker -fuse-ld=bfd or -fuse-ld=gold https://community.centminmod.com/posts/44037/
NGINXCOMPILE_FORMATSEC='y' # whether or not nginx is compiled with -Wformat -Werror=format-security flags

# Nginx Dynamic Module Switches
NGXDYNAMIC_MANUALOVERRIDE='n' # set to 'y' if you want to manually drop in nginx dynamic modules into /usr/local/nginx/modules
Expand Down

0 comments on commit dbdc47a

Please sign in to comment.