summaryrefslogtreecommitdiffstats
path: root/src/ragel.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-08-26 21:49:37 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-08-26 21:49:37 (GMT)
commit3b8725e8efdc5604173130399ce35a4a224f3c34 (patch)
tree20f8745911d6ad3cb483408183353763289e8093 /src/ragel.mk
parent1033fe3b256e4ca2245caa9a3667e2da351045f9 (diff)
downloadmxe-3b8725e8efdc5604173130399ce35a4a224f3c34.zip
mxe-3b8725e8efdc5604173130399ce35a4a224f3c34.tar.gz
mxe-3b8725e8efdc5604173130399ce35a4a224f3c34.tar.bz2
ragel: fix build with gcc6
tested on OS X with gcc 6.1.0 and clang fixes #1510
Diffstat (limited to 'src/ragel.mk')
-rw-r--r--src/ragel.mk3
1 files changed, 2 insertions, 1 deletions
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