x265: fix build for FreeBSD

This commit is contained in:
Audrey Dutcher
2025-03-05 23:50:33 +01:00
committed by Sandro Jäckel
parent 94c6912c79
commit 2138f8e870
+1 -1
View File
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
]
# Clang does not support the endfunc directive so use GCC.
++ lib.optional (
stdenv.cc.isClang && !stdenv.targetPlatform.isDarwin
stdenv.cc.isClang && !stdenv.targetPlatform.isDarwin && !stdenv.targetPlatform.isFreeBSD
) "-DCMAKE_ASM_COMPILER=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}gcc";
cmakeStaticLibFlags =