Skip to content
Snippets Groups Projects
Commit 5f509227 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #36 from ids1024/symlink

Use symlinks
parents b8da5d50 da02a9b4
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,6 @@ function recipe_clean { ...@@ -44,7 +44,6 @@ function recipe_clean {
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
make DESTDIR="$dest" install make DESTDIR="$dest" install
echo -e '#!/bin/ion\ndash @args[1..]' > "$1/bin/sh" ln -s "dash" "$1/bin/sh"
chmod a+x "$1/bin/sh"
skip=1 skip=1
} }
...@@ -53,7 +53,6 @@ function recipe_stage { ...@@ -53,7 +53,6 @@ function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
make DESTDIR="$dest" install-gcc install-target-libgcc make DESTDIR="$dest" install-gcc install-target-libgcc
find "$dest"/{bin,libexec} -exec x86_64-elf-redox-strip {} ';' 2> /dev/null find "$dest"/{bin,libexec} -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
echo -e '#!/bin/ion\ngcc @args[1..]' > "$1/bin/cc" ln -s "gcc" "$1/bin/cc"
chmod a+x "$1/bin/cc"
skip=1 skip=1
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment