Skip to content

Commit

Permalink
Don't treat warnings as error when building rocksdbjavastatic
Browse files Browse the repository at this point in the history
Summary: Don't treat warnings as error when building rocksdbjavastatic

Test Plan: make rocksdbjavastatic -j32

Reviewers: rven, fyrz, adamretter, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D38187
  • Loading branch information
yhchiang committed May 8, 2015
1 parent beda81c commit 2fe24e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ ifeq ($(MAKECMDGOALS),install)
DEBUG_LEVEL=0
endif

ifeq ($(MAKECMDGOALS),rocksdbjavastatic)
DEBUG_LEVEL=0
endif

# compile with -O2 if debug level is not 2
ifneq ($(DEBUG_LEVEL), 2)
OPT += -O2 -fno-omit-frame-pointer
Expand Down

0 comments on commit 2fe24e4

Please sign in to comment.