From a6195c65b0e272da1054fce02b54fc3e7c7874db Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Tue, 6 Jun 2017 19:53:59 -0600 Subject: [PATCH] Unset CC, use build directory as intended --- recipes/newlib/recipe.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/recipes/newlib/recipe.sh b/recipes/newlib/recipe.sh index c55d1db42..77aadcebb 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/* ./ -- GitLab