Skip to content

Commit

Permalink
update inc/nginx_configure.inc switch Clang back to GCC
Browse files Browse the repository at this point in the history
For ngx_pagespeed 1.10 usage. Unfortunately, that means slower compile times and more memory usage during compilation with GCC compared to Clang
  • Loading branch information
centminmod committed Feb 17, 2016
1 parent 03a3e70 commit a24b3ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/nginx_configure.inc
Expand Up @@ -895,6 +895,8 @@ fi
# https://community.centminmod.com/posts/22882/
if [[ "$(echo "$NGXPGSPEED_VER" | cut -d . -f1)" -ge '1' ]] && [[ "$(echo $NGXPGSPEED_VER | cut -d . -f2)" -ge '10' ]] && [[ "$NGINX_PAGESPEED" = [yY] ]] && [[ "$CENTOS_SIX" = '6' ]]; then
CLANG='n'
elif [[ "$(echo "$NGXPGSPEED_VER" | cut -d . -f1)" -ge '1' ]] && [[ "$(echo $NGXPGSPEED_VER | cut -d . -f2)" -ge '10' ]] && [[ "$NGINX_PAGESPEED" = [yY] ]] && [[ "$CENTOS_SEVEN" = '7' ]]; then
CLANG='n'
fi

# if [[ "$(uname -m)" != 'x86_64' ]]; then
Expand Down

0 comments on commit a24b3ee

Please sign in to comment.