diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-08-26 21:49:37 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-08-26 21:49:37 (GMT) |
commit | 3b8725e8efdc5604173130399ce35a4a224f3c34 (patch) | |
tree | 20f8745911d6ad3cb483408183353763289e8093 /src | |
parent | 1033fe3b256e4ca2245caa9a3667e2da351045f9 (diff) | |
download | mxe-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')
-rw-r--r-- | src/ragel.mk | 3 |
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 |