From b9485ff3bf4b8b9e7d8003e0602fd75ef85349d1 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sat, 21 Jan 2017 02:05:53 +0100 Subject: hyperscan: enable -msse4 flag GCC 5.4.0 on Mac lacks SSSE3 and SSE4. See https://github.com/mxe/mxe/pull/1541#issuecomment-274018559 --- src/hyperscan.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hyperscan.mk b/src/hyperscan.mk index 2161aa2..694bdb9 100644 --- a/src/hyperscan.mk +++ b/src/hyperscan.mk @@ -21,6 +21,7 @@ define $(PKG)_BUILD # Add the following options to run on (virtual) machine without AVX2 # -DCMAKE_C_FLAGS="-march=core2" -DCMAKE_CXX_FLAGS="-march=core2" cd '$(1).build' && '$(TARGET)-cmake' \ + -DCMAKE_C_FLAGS="-mssse4" -DCMAKE_CXX_FLAGS="-mssse4" \ -DRAGEL='$(PREFIX)/$(BUILD)/bin/ragel' \ '$(1)' $(MAKE) -C '$(1).build' -j '$(JOBS)' -- cgit v0.12