Try gnu++1y

This commit is contained in:
Maxime Coste 2015-05-25 20:32:39 +01:00
parent d83836d026
commit 3ca69c3852

View File

@ -9,12 +9,9 @@ bindir := $(DESTDIR)$(PREFIX)/bin
sharedir := $(DESTDIR)$(PREFIX)/share/kak sharedir := $(DESTDIR)$(PREFIX)/share/kak
docdir := $(DESTDIR)$(PREFIX)/share/doc/kak docdir := $(DESTDIR)$(PREFIX)/share/doc/kak
CXXFLAGS += -g -Wall -Wno-reorder -Wno-sign-compare -pedantic CXXFLAGS += -std=gnu++1y -g -Wall -Wno-reorder -Wno-sign-compare -pedantic
ifneq (,$(findstring CYGWIN,$(os))) ifneq (,$(findstring CYGWIN,$(os)))
CXXFLAGS += -std=gnu++14
LDFLAGS += -rdynamic LDFLAGS += -rdynamic
else
CXXFLAGS += -std=c++14
endif endif
os := $(shell uname) os := $(shell uname)