LAStools: add Wno-narrowing on aarch64 (#343503)

This commit is contained in:
Ivan Mincik 2024-09-25 12:16:45 +00:00 committed by GitHub
commit 8ed03da050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "LAStools";
@ -19,6 +24,8 @@ stdenv.mkDerivation rec {
"format"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-narrowing";
nativeBuildInputs = [
cmake
];