cctools-llvm: fix build with clang 16

This was not caught when cctools-llvm was added. The parens are
necessary to make sure this evaluates correctly when LLVM is new enough
to provide a compatible `otool`.
This commit is contained in:
Randy Eckenrode
2023-06-12 17:38:02 -04:00
parent 7b0f3375d6
commit 5841d0353a
+1 -1
View File
@@ -97,7 +97,7 @@ stdenv.mkDerivation {
${linkManPages (lib.getMan cctools-port) "ld64" "ld64"}
${lib.optionalString (!useLLVMOtool) # The actual man page for otool in cctools is llvm-otool
linkManPages (lib.getMan cctools-port) "llvm-otool" "llvm-otool"}
(linkManPages (lib.getMan cctools-port) "llvm-otool" "llvm-otool")}
'';
passthru = { inherit targetPrefix; };