llvmPackages_11: darwin cross compilation and bootstrapping

This commit is contained in:
Andrew Childs
2021-05-17 00:28:05 +09:00
parent c31591cf8b
commit 56fcbcd154
5 changed files with 33 additions and 14 deletions
@@ -48,7 +48,7 @@ stdenv.mkDerivation {
# the magic combination of necessary CMake variables
# if you fancy a try, take a look at
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
install_name_tool -id $out/$file $file
${stdenv.cc.targetPrefix}install_name_tool -id $out/$file $file
done
make install
install -d 755 $out/include