Skip to content

Commit

Permalink
Merge pull request #1 from zer0n/rfcn
Browse files Browse the repository at this point in the history
Fix build by adding std=c++11 flag
  • Loading branch information
daijifeng001 authored Jul 26, 2016
2 parents 4cdcd00 + 5c61f71 commit d5f5627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ endif

# Debugging
ifeq ($(DEBUG), 1)
COMMON_FLAGS += -DDEBUG -g -O0
COMMON_FLAGS += -DDEBUG -g -O0 -std=c++11
NVCCFLAGS += -G
else
COMMON_FLAGS += -DNDEBUG -O2
COMMON_FLAGS += -DNDEBUG -O2 -std=c++11
endif

# cuDNN acceleration configuration.
Expand Down

0 comments on commit d5f5627

Please sign in to comment.