diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-10-02 18:17:13 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-10-02 18:17:13 +1000 |
| commit | d99936faf68f6caa3608f0c597a183febd399e14 (patch) | |
| tree | 592064c86cd3910e931fbb37b07b02399e1af675 /gtk | |
| parent | 96015b4a54a7cdeb3f59ed6eae2394f4e86bb4e8 (diff) | |
| download | scintilla-mirror-d99936faf68f6caa3608f0c597a183febd399e14.tar.gz | |
Allow using C++11 <regex> for searches as a provisional feature.
Diffstat (limited to 'gtk')
| -rw-r--r-- | gtk/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/makefile b/gtk/makefile index 3c754f2e3..cdf1aa16e 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -54,6 +54,10 @@ else THREADFLAGS= endif +ifdef CXX11_REGEX +REFLAGS=-DCXX11_REGEX +endif + ifdef DEBUG ifdef CLANG CTFLAGS=-DDEBUG -g -fsanitize=$(SANITIZE) $(CXXBASEFLAGS) $(THREADFLAGS) @@ -65,7 +69,7 @@ CTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS) endif CFLAGS:=$(CTFLAGS) -CXXTFLAGS:=--std=c++0x $(CTFLAGS) +CXXTFLAGS:=--std=c++0x $(CTFLAGS) $(REFLAGS) CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION)) MARSHALLER=scintilla-marshal.o |
