mirror of
https://github.com/urbit/shrub.git
synced 2024-12-28 06:32:51 +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.
32 lines
474 B
Bash
32 lines
474 B
Bash
source $setup
|
|
|
|
tar -xf $src
|
|
|
|
cd gdb-$version
|
|
for patch in $patches
|
|
do
|
|
echo applying patch $patch
|
|
patch -p1 -i $patch
|
|
done
|
|
cd ..
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
export LDFLAGS="-L$curses/lib"
|
|
export CFLAGS="-I$curses/include"
|
|
export CXXFLAGS="-I$curses/include"
|
|
|
|
../gdb-$version/configure \
|
|
--prefix=$out \
|
|
--host=$host \
|
|
--target=$host \
|
|
--with-expat=yes --with-libexpat-prefix=$expat \
|
|
--enable-tui \
|
|
--disable-win32-registry \
|
|
--disable-rpath
|
|
|
|
make
|
|
|
|
make install
|