summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild')
-rw-r--r--sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index bb16ca91c101..5fd01079542f 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -28,6 +28,10 @@ src_configure() {
local mycmakeargs=(
-DZLIB_COMPAT="$(usex compat)"
-DZLIB_ENABLE_TESTS="$(usex test)"
+ # Unaligned access is controversial and undefined behaviour
+ # Let's keep it off for now
+ # https://github.com/gentoo/gentoo/pull/17167
+ -DWITH_UNALIGNED="OFF"
)
cmake_src_configure
}