From 304b731da6b59df7286d89ed58059b8586db5058 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Mon, 10 Aug 2009 23:52:27 +0000 Subject: Hack to make gtest sub-package compile correctly on Sun Studio. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d160633c..5049d9e9 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,9 @@ 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. +export CXXFLAGS AC_CONFIG_SUBDIRS([gtest]) AC_CONFIG_FILES([Makefile src/Makefile protobuf.pc protobuf-lite.pc]) -- cgit v1.2.3