mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
25 lines
512 B
Bash
25 lines
512 B
Bash
source $setup
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cd $out/bin
|
|
|
|
CXXFLAGS="$CXXFLAGS -DWRAPPER_PATH=\\\"$out/bin:$ld/bin:$clang/bin\\\""
|
|
|
|
eval "g++ $CXXFLAGS $src_file -o $host-wrapper"
|
|
|
|
ln -s $clang/bin/llvm-dsymutil dsymutil
|
|
ln -s $ar/bin/$host-ar
|
|
ln -s $ranlib/bin/$host-ranlib
|
|
ln -s $ranlib/bin/$host-libtool
|
|
ln -s $strip/bin/$host-strip
|
|
|
|
ln -s $host-wrapper $host-cc
|
|
ln -s $host-wrapper $host-c++
|
|
|
|
ln -s $host-wrapper $host-clang
|
|
ln -s $host-wrapper $host-clang++
|
|
|
|
ln -s $host-wrapper $host-gcc
|
|
ln -s $host-wrapper $host-g++
|