diff --git a/recipes/dev/gcc13/recipe.toml b/recipes/dev/gcc13/recipe.toml index b6fd0aa36..d3fba2838 100644 --- a/recipes/dev/gcc13/recipe.toml +++ b/recipes/dev/gcc13/recipe.toml @@ -40,6 +40,7 @@ export CFLAGS_FOR_TARGET="${CPPFLAGS}" CXXFLAGS_FOR_TARGET="${CPPFLAGS}" LDFLAGS export CC_FOR_BUILD="$CC_WRAPPER gcc" CXX_FOR_BUILD="$CC_WRAPPER g++" unset CFLAGS CPPFLAGS LDFLAGS COOKBOOK_CONFIGURE_FLAGS+=( + --with-sysroot=/ --with-gmp="${COOKBOOK_SYSROOT}/usr" --with-mpfr="${COOKBOOK_SYSROOT}/usr" --with-mpc="${COOKBOOK_SYSROOT}/usr"