openpgl: Fix aarch64 compilation

referenced https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/openpgl/openpgl-0.5.0.ebuild
This commit is contained in:
the-furry-hubofeverything 2023-10-13 11:53:13 -07:00
parent a9f8820d17
commit 24a2adf6dc

View file

@ -31,6 +31,8 @@ stdenv.mkDerivation (finalAttrs: {
"-DTBB_ROOT=${tbb.out}"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-flax-vector-conversions";
meta = {
description = "Intel Open Path Guiding Library";
homepage = "https://github.com/OpenPathGuidingLibrary/openpgl";