Loading pkgs/by-name/oc/ocl-icd/package.nix +8 −3 Original line number Diff line number Diff line Loading @@ -26,8 +26,13 @@ stdenv.mkDerivation rec { buildInputs = [ opencl-headers ] ++ lib.optionals stdenv.hostPlatform.isWindows [ windows.dlfcn ]; configureFlags = [ configureFlags = [ "--enable-custom-vendordir=/run/opengl-driver/etc/OpenCL/vendors" ] ++ lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" "ac_cv_func_realloc_0_nonnull=yes" ]; # fixes: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified Loading Loading
pkgs/by-name/oc/ocl-icd/package.nix +8 −3 Original line number Diff line number Diff line Loading @@ -26,8 +26,13 @@ stdenv.mkDerivation rec { buildInputs = [ opencl-headers ] ++ lib.optionals stdenv.hostPlatform.isWindows [ windows.dlfcn ]; configureFlags = [ configureFlags = [ "--enable-custom-vendordir=/run/opengl-driver/etc/OpenCL/vendors" ] ++ lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" "ac_cv_func_realloc_0_nonnull=yes" ]; # fixes: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified Loading