summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-08-26 22:15:08 (GMT)
committerGitHub <noreply@github.com>2016-08-26 22:15:08 (GMT)
commitac82d048b227ed5619b46982979ea08fdd9fd57d (patch)
tree5777f12f1dad901bc9c1492736f2fff1812c74c6
parent3e215f110529dae05bc50caba6de827f245c03c4 (diff)
parent3b8725e8efdc5604173130399ce35a4a224f3c34 (diff)
downloadmxe-ac82d048b227ed5619b46982979ea08fdd9fd57d.zip
mxe-ac82d048b227ed5619b46982979ea08fdd9fd57d.tar.gz
mxe-ac82d048b227ed5619b46982979ea08fdd9fd57d.tar.bz2
Merge pull request #1511 from tonytheodore/ragel-gcc6
ragel: fix build with gcc6
-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