mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
16 lines
308 B
Bash
16 lines
308 B
Bash
source $stdenv/setup
|
|
|
|
cp -r $src $TMP/$name
|
|
chmod -R u+w $TMP/$name
|
|
cd $TMP/$name
|
|
|
|
cd ./build/Linux-386-SSE2-GCC
|
|
sed -i 's|gcc|$(CC)|' Makefile
|
|
sed -i 's/ar crs/$(AR) crs/' Makefile
|
|
|
|
make -j4
|
|
|
|
mkdir -p $out/{lib,include}
|
|
cp $src/source/include/*.h $out/include
|
|
cp softfloat.a $out/lib/libsoftfloat3.a
|