hyperscan: enable -msse4 flag

GCC 5.4.0 on Mac lacks SSSE3 and SSE4.
See https://github.com/mxe/mxe/pull/1541#issuecomment-274018559
This commit is contained in:
Boris Nagaev 2017-01-21 02:05:53 +01:00
parent 9a6c17c0e3
commit b9485ff3bf
1 changed files with 1 additions and 0 deletions

View File

@ -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)'