Skip to content

Commit

Permalink
Tweak flag for backwards compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Apr 25, 2020
1 parent 00b63e6 commit 27f417a
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 @@ -88,7 +88,7 @@ FLAGS += -DLLVM_VERSION=$(LLVM_VERSION)

LLVM_NEEDS_CXX14="100"
ifeq (,$(findstring $(LLVM_VERSION),$(LLVM_NEEDS_CXX14)))
CPPFLAGS += -std=c++14
CPPFLAGS += -std=c++1y # GCC 5 does not support -std=c++14 flag
else
CPPFLAGS += -std=c++11
endif
Expand Down

0 comments on commit 27f417a

Please sign in to comment.