aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fa54431f..e7ceb002 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,8 +138,10 @@ AM_CONDITIONAL([USE_EXTERNAL_PROTOC], [test "$with_protoc" != "no"])
ACX_PTHREAD
AC_CXX_STL_HASH
-# HACK: Make gtest's configure script pick up our copy of CXXFLAGS, since the
-# flags added by ACX_CHECK_SUNCC must be used when compiling gtest too.
+# HACK: Make gtest's configure script pick up our copy of CFLAGS and CXXFLAGS,
+# since the flags added by ACX_CHECK_SUNCC must be used when compiling gtest
+# too.
+export CFLAGS
export CXXFLAGS
AC_CONFIG_SUBDIRS([gtest])