From a24b3eeda05ccc02f181ae2dc9037c3733b2cf9f Mon Sep 17 00:00:00 2001 From: George Liu Date: Thu, 18 Feb 2016 07:12:04 +1000 Subject: [PATCH] update inc/nginx_configure.inc switch Clang back to GCC For ngx_pagespeed 1.10 usage. Unfortunately, that means slower compile times and more memory usage during compilation with GCC compared to Clang --- inc/nginx_configure.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/nginx_configure.inc b/inc/nginx_configure.inc index d595638be..9605edcbb 100644 --- a/inc/nginx_configure.inc +++ b/inc/nginx_configure.inc @@ -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