]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix the build on GCC 4.x after 812e8f2a1 1713/head
authorConrad Meyer <cem@FreeBSD.org>
Thu, 8 Aug 2019 21:16:36 +0000 (14:16 -0700)
committerConrad Meyer <cem@FreeBSD.org>
Fri, 9 Aug 2019 00:25:49 +0000 (17:25 -0700)
commitff6c81d90cdf070bcedc77015f7c17ac07f74020
treed6920cccbfde319c3fbf109a0da4699571dbfc96
parentff304e9e65e7cde17a637eea190a874c26c48634
Fix the build on GCC 4.x after 812e8f2a1

The ancient GCC 4.x doesn't understand the "optimize" attribute until 4.4.
Fix the build on platforms with GCC 4.x < 4.4 by limiting the DONT_VECTORIZE
definition to GCC 5 and greater.

Noticed and patch proposed by Warner Losh <imp@FreeBSD.org>.
lib/common/compiler.h