go1.12: remove dsymutil patch
stdenv provides dsymutil for us. Already done for other compilers but not this one.
This commit is contained in:
parent
32acda1b4d
commit
1b5021771b
@ -141,9 +141,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
find . -name '*.orig' -exec rm {} ';'
|
find . -name '*.orig' -exec rm {} ';'
|
||||||
'' + optionalString stdenv.isDarwin ''
|
|
||||||
echo "substitute hardcoded dsymutil with ${llvm}/bin/llvm-dsymutil"
|
|
||||||
substituteInPlace "src/cmd/link/internal/ld/lib.go" --replace dsymutil ${llvm}/bin/llvm-dsymutil
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
GOOS = stdenv.targetPlatform.parsed.kernel.name;
|
GOOS = stdenv.targetPlatform.parsed.kernel.name;
|
||||||
|
Loading…
Reference in New Issue
Block a user