You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2013/11/01 18:11:05 UTC

git commit: Fix for building with gcc 4.7.

Updated Branches:
  refs/heads/master 8556d4ce9 -> 32cd0adc5


Fix for building with gcc 4.7.

Review: https://reviews.apache.org/r/15177


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/32cd0adc
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/32cd0adc
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/32cd0adc

Branch: refs/heads/master
Commit: 32cd0adc5f736d563ef564eed345f511659d5dfd
Parents: 8556d4c
Author: Benjamin Hindman <be...@gmail.com>
Authored: Thu Oct 31 23:23:30 2013 -1000
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Thu Oct 31 23:23:52 2013 -1000

----------------------------------------------------------------------
 3rdparty/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/32cd0adc/3rdparty/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index 51a8337..8e1d915 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -73,7 +73,7 @@ endif
 # a configure.ac for leveldb.
 $(LEVELDB)/libleveldb.a: $(LEVELDB)-stamp
 	cd $(LEVELDB) && \
-          $(MAKE) $(AM_MAKEFLAGS) CC="$(CXX)" OPT="$(CXXFLAGS) -fPIC"
+          $(MAKE) $(AM_MAKEFLAGS) CC="$(CC)" CXX="$(CXX)" OPT="$(CXXFLAGS) -fPIC"
 
 $(ZOOKEEPER)/src/c/libzookeeper_mt.la: $(ZOOKEEPER)-stamp
 	cd $(ZOOKEEPER)/src/c && ./configure $(CONFIGURE_ARGS) && \