pcl: build with PCL_ENABLE_MARCHNATIVE=false
This defaults to true, which causes the CC wrappers to issue warnings: warning: Skipping impure flag -march=native because NIX_ENFORCE_NO_NATIVE is set
This commit is contained in:
@@ -74,6 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_CUDA" cudaSupport)
|
||||
(lib.cmakeBool "BUILD_GPU" cudaSupport)
|
||||
(lib.cmakeBool "PCL_ENABLE_MARCHNATIVE" false)
|
||||
(lib.cmakeBool "WITH_CUDA" cudaSupport)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user