LibC: Don't use BAN inside pwd.cpp
This made pwd.cpp require libstdc++ which meant that getlogin() also needed libstdc++. This made build process of libstdc++ require itself which is of course not possible.
This commit is contained in:
@@ -206,14 +206,13 @@ if [[ -f $BANAN_TOOLCHAIN_PREFIX/bin/$BANAN_TOOLCHAIN_TRIPLE_PREFIX-gcc ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
BUILD_LIBSTDCPP=0
|
||||
#BUILD_LIBSTDCPP=$BUILD_GCC
|
||||
#if ! (($BUILD_LIBSTDCPP)); then
|
||||
# read -e -p "Do you want to rebuild libstdc++ [y/N]? " choice
|
||||
# if [[ "$choice" == [Yy]* ]]; then
|
||||
# BUILD_LIBSTDCPP=1
|
||||
# fi
|
||||
#fi
|
||||
BUILD_LIBSTDCPP=$BUILD_GCC
|
||||
if ! (($BUILD_LIBSTDCPP)); then
|
||||
read -e -p "Do you want to rebuild libstdc++ [y/N]? " choice
|
||||
if [[ "$choice" == [Yy]* ]]; then
|
||||
BUILD_LIBSTDCPP=1
|
||||
fi
|
||||
fi
|
||||
|
||||
BUILD_GRUB=1
|
||||
if [[ -f $BANAN_TOOLCHAIN_PREFIX/bin/grub-mkstandalone ]]; then
|
||||
|
||||
Reference in New Issue
Block a user