From 465b25ca9366be43c2f9e0ef8b73fdf27e51b1c9 Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 9 Apr 2015 16:55:25 -0700 Subject: [PATCH] "make commit-prereq" doesn't really build ROCKSDB_LITE Summary: "make commit-prereq" uses "make release" which overrides OPT, so ROCKSDB_LITE is not covered. Fix it by using "make static_lib" Test Plan: Run it and see it fail (which is expected) Reviewers: yhchiang, meyering, rven, anthony, kradhakrishnan, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D36813 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2681369c2..ac3ca00fc 100644 --- a/Makefile +++ b/Makefile @@ -921,7 +921,7 @@ commit-prereq: $(MAKE) clean && $(MAKE) all check; $(MAKE) clean && $(MAKE) rocksdbjava; $(MAKE) clean && USE_CLANG=1 $(MAKE) all; - $(MAKE) clean && OPT=-DROCKSDB_LITE $(MAKE) release; + $(MAKE) clean && OPT=-DROCKSDB_LITE $(MAKE) static_lib; # --------------------------------------------------------------------------- # Platform-specific compilation