mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 11:24:21 +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.
27 lines
424 B
Bash
27 lines
424 B
Bash
source $stdenv/setup
|
|
|
|
unset CC CXX CFLAGS LDFLAGS LD AR AS RANLIB SIZE STRINGS NM STRIP OBJCOPY
|
|
|
|
tar -xf $src
|
|
|
|
cd binutils-$version
|
|
for patch in $patches; do
|
|
echo applying patch $patch
|
|
patch -p1 -i $patch
|
|
done
|
|
|
|
# Clear the default library search path (noSysDirs)
|
|
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt
|
|
|
|
cd ..
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
../binutils-$version/configure --prefix=$out $configure_flags
|
|
|
|
make
|
|
|
|
make install
|
|
|