Skip to content
Snippets Groups Projects
Commit a3bee97e authored by Ariadne Conill's avatar Ariadne Conill
Browse files

main/zstd: backport compile fixes from 3.14

parent c6cb1459
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,13 @@ source="zstd-$pkgver.tar.gz::https://github.com/facebook/zstd/archive/v$pkgver.t
# 1.3.8-r0:
# - CVE-2019-11922
unset CPPFLAGS
export CFLAGS="$CFLAGS -O2 -fno-strict-aliasing -fPIC"
case "$CARCH" in
# avoid memory copy hack that violates C standard
armhf) export CFLAGS="$CFLAGS -DMEM_FORCE_MEMORY_ACCESS=0" ;;
esac
build() {
unset CPPFLAGS
local _moreflags="-O2 -fno-strict-aliasing"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment