diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-08-10 23:52:27 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-08-10 23:52:27 +0000 |
commit | 304b731da6b59df7286d89ed58059b8586db5058 (patch) | |
tree | 1c7f39c8f035f1d9345d76c0b92fd05e85d7a52d | |
parent | db0bf5a52f00a1a42a4c9af3b50b7879bb207942 (diff) | |
download | protobuf-304b731da6b59df7286d89ed58059b8586db5058.tar.gz protobuf-304b731da6b59df7286d89ed58059b8586db5058.tar.bz2 protobuf-304b731da6b59df7286d89ed58059b8586db5058.zip |
Hack to make gtest sub-package compile correctly on Sun Studio.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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]) |