1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #146035 from risicle/ris-pcl-aarch64-fix

pcl: fix build on aarch64
This commit is contained in:
Domen Kožar 2021-11-15 06:40:31 -06:00 committed by GitHub
commit 0d67f33cbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,12 @@ stdenv.mkDerivation rec {
sha256 = "0jhvciaw43y6iqqk7hyxnfhn1b4bsw5fpy04s01r5pkcsjjbdbqc";
};
# remove attempt to prevent (x86/x87-specific) extended precision use
# when SSE not detected
postPatch = lib.optionalString (!(stdenv.isi686 || stdenv.isx86_64)) ''
sed -i '/-ffloat-store/d' cmake/pcl_find_sse.cmake
'';
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
buildInputs = [
eigen