mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 21:34:18 +08:00
Unset CC, use build directory as intended
This commit is contained in:
parent
38e31db60f
commit
a6195c65b0
@ -26,11 +26,8 @@ function recipe_build {
|
||||
automake-1.11 --cygnus Makefile
|
||||
popd
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
../configure --target="${HOST}" --prefix=/
|
||||
make
|
||||
CC= ./configure --target="${HOST}" --prefix=/
|
||||
make all
|
||||
|
||||
return 1
|
||||
}
|
||||
@ -41,14 +38,12 @@ function recipe_test {
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
cd build
|
||||
make clean
|
||||
return 1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
cd build
|
||||
make DESTDIR="$dest" install
|
||||
cd "$dest"
|
||||
mv x86_64-elf-redox/* ./
|
||||
|
||||
Loading…
Reference in New Issue
Block a user