diff --git a/Makefile b/Makefile index 06ac5ea23a5f52f91e7c56447ca64ada882fa008..7e1d5a7b44a12a8d105b9128062ff4db58d65db1 100644 --- a/Makefile +++ b/Makefile @@ -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