From 3b8725e8efdc5604173130399ce35a4a224f3c34 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 27 Aug 2016 07:49:37 +1000 Subject: ragel: fix build with gcc6 tested on OS X with gcc 6.1.0 and clang fixes #1510 --- src/ragel.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ragel.mk b/src/ragel.mk index ef5e360..2c146a5 100644 --- a/src/ragel.mk +++ b/src/ragel.mk @@ -19,7 +19,8 @@ endef define $(PKG)_BUILD_$(BUILD) cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ - --prefix='$(PREFIX)/$(BUILD)' + --prefix='$(PREFIX)/$(BUILD)' \ + CXXFLAGS=-std=c++03 $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MAKE) -C '$(BUILD_DIR)' -j 1 install endef -- cgit v0.12