Skip to content

Commit

Permalink
abort on any error in debug build
Browse files Browse the repository at this point in the history
Based on the discussion in apache#1078.
Fixed apache#1078.
  • Loading branch information
SkidanovAlex committed Dec 28, 2015
1 parent 2645bac commit 794d75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CFLAGS = -DMSHADOW_FORCE_STREAM $(WARNFLAGS)

# CFLAGS for debug
ifeq ($(DEBUG), 1)
CFLAGS += -g -O0
CFLAGS += -g -O0 -DDMLC_LOG_FATAL_THROW=0
else
CFLAGS += -O3
endif
Expand Down

0 comments on commit 794d75f

Please sign in to comment.