[Groonga-commit] groonga/groonga [master] groonga-httpd: don't use CFLAGS

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 9日 (木) 18:28:33 JST


Kouhei Sutou	2012-08-09 18:28:33 +0900 (Thu, 09 Aug 2012)

  New Revision: 8e426b486dd96dae78f3fde2b159bee66b7a6cc4
  https://github.com/groonga/groonga/commit/8e426b486dd96dae78f3fde2b159bee66b7a6cc4

  Log:
    groonga-httpd: don't use CFLAGS
    
    Because nginx's auto CC configuration is skipped when CFLAGS is set.

  Modified files:
    vendor/nginx/configure

  Modified: vendor/nginx/configure (+5 -2)
===================================================================
--- vendor/nginx/configure    2012-08-09 15:19:25 +0900 (adf4c24)
+++ vendor/nginx/configure    2012-08-09 18:28:33 +0900 (3b32e54)
@@ -33,14 +33,17 @@ if [ "$GROONGA_HTTPD_DEBUG" = "yes" ]; then
   configure_args="$configure_args --with-debug"
 fi
 
+NGX_CC_OPT="$CFLAGS"
+unset CFLAGS
+
 if [ "$GROONGA_HTTPD_WITH_PCRE" = "yes" ]; then
-  CFLAGS="$CFLAGS $GROONGA_HTTPD_PCRE_CFLAGS"
+  NGX_CC_OPT="$NGX_CC_OPT $GROONGA_HTTPD_PCRE_CFLAGS"
   LIBS="$LIBS $GROONGA_HTTPD_PCRE_LIBS_ONLY_L"
 else
   configure_args="$configure_args --without-http_rewrite_module"
 fi
 
-export CFLAGS
+export NGX_CC_OPT
 export LIBS
 
 cd "../nginx-${nginx_version}"
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 



Groonga-commit メーリングリストの案内
Back to archive index