From 57ed5cb5995bbd8ce7e083eca192d32541a9b468 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 4 Oct 2015 20:16:57 +0300 Subject: [PATCH] config/options: gcc is required. early. --- config/options | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/options b/config/options index c93e3ba744..4aed88c5f3 100644 --- a/config/options +++ b/config/options @@ -52,6 +52,11 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package # If you have ccache installed, take care that LOCAL_CC don't point to it LOCAL_CC=`which gcc` +if [ -z "$LOCAL_CC" ] ; then + echo "***** Please install gcc *****" + exit 127 +fi + # Need to point to your actual g++ # If you have ccache installed, take care that LOCAL_CXX don't point to it LOCAL_CXX=`which g++`