Unverified Commit 3f948b76 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

netbsd.compat: use strip from cctools-port

llvm-strip does not support `-X` for Mach-O, so make sure the cctools
version is used.
parent 9ae5c2de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ in makeScopeWithSplicing
    ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # GNU objcopy produces broken .a libs which won't link into dependers.
      # Makefiles only invoke `$OBJCOPY -x/-X`, so cctools strip works here.
      "OBJCOPY=${buildPackages.darwin.cctools}/bin/strip"
      "OBJCOPY=${buildPackages.darwin.cctools-port}/bin/strip"
    ];
    RENAME = "-D";