Index: head/benchmarks/lzbench/files/patch-Makefile =================================================================== --- head/benchmarks/lzbench/files/patch-Makefile (nonexistent) +++ head/benchmarks/lzbench/files/patch-Makefile (revision 459732) @@ -0,0 +1,13 @@ +--- Makefile.orig 2018-01-05 10:06:50 UTC ++++ Makefile +@@ -26,8 +26,8 @@ ifeq (1,$(filter 1,$(shell [ "$(COMPILER)" = "gcc" ] & + DONT_BUILD_GLZA ?= 1 + endif + +-# LZSSE requires gcc with support of __SSE4_1__ +-ifeq ($(shell echo|$(CC) -dM -E - -march=native|grep -c SSE4_1), 0) ++# LZSSE requires compiler with __SSE4_1__ support and 64-bit CPU ++ifneq ($(shell echo|$(CC) -dM -E - -march=native|egrep -c '__(SSE4_1|x86_64)__'),2) + DONT_BUILD_LZSSE ?= 1 + endif + Property changes on: head/benchmarks/lzbench/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property