From 9a78a52ca09c831130b87641dc9bd8d5d8324f9b Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 28 Nov 2018 07:55:15 -0700 Subject: [PATCH] Use absolute path for build sysroot --- recipes/gcc/recipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/gcc/recipe.sh b/recipes/gcc/recipe.sh index b12404587..9380d079f 100644 --- a/recipes/gcc/recipe.sh +++ b/recipes/gcc/recipe.sh @@ -20,7 +20,7 @@ function recipe_build { cp config.sub mpfr/config.sub cp -f config.sub mpc/config.sub - sysroot="${PWD}/../sysroot" + sysroot="$(realpath "${PWD}/../sysroot")" mkdir -p "$sysroot/usr" ln -sf "$sysroot/include" "$sysroot/usr/include" ln -sf "$sysroot/lib" "$sysroot/usr/lib"