diff --git a/newbrt/Makefile b/newbrt/Makefile index f25d25f6156..fca21fc6aeb 100644 --- a/newbrt/Makefile +++ b/newbrt/Makefile @@ -18,8 +18,6 @@ LINK_FILES += $(NEWBRT) SKIP_NEWBRTRULE=1 include $(TOKUROOT)toku_include/Makefile.include -# TODO: 1398 Get rid of this hack. -CPPFLAGS+=-DBRT_LEVEL_STRADDLE_CALLBACK_LOGIC_NOT_READY=1 # When debugging, try: valgrind --show-reachable=yes --leak-check=full ./brt-test diff --git a/toku_include/Makefile.include b/toku_include/Makefile.include index 38061530efc..46b8e361842 100644 --- a/toku_include/Makefile.include +++ b/toku_include/Makefile.include @@ -76,6 +76,8 @@ else ifeq ($(VERBOSE),1) endif CPPFLAGS = $(INCLUDEDIRS) -I$(PORTABILITY_HEADERS) -I$(TOKUROOT)toku_include +# TODO: 1398 Get rid of this hack. +CPPFLAGS+=-DBRT_LEVEL_STRADDLE_CALLBACK_LOGIC_NOT_READY=1 #CFLAG default options # Add -Wconversion #DISABLED for now.