diff --git a/recipes/newlib/recipe.sh b/recipes/newlib/recipe.sh index c55d1db42b18d8a7e782b5c205f9c9c08a862e2a..77aadcebb12719ccd5ab49883871f3af7f2cd8c4 100644 --- a/recipes/newlib/recipe.sh +++ b/recipes/newlib/recipe.sh @@ -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/* ./