From 5867be19e53a3cc09730b83282c83bdd26147cc3 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 9 Nov 2020 04:05:25 +0000 Subject: [PATCH] configure.seed: not check clang on host Don't check clang on host to avoid host contamination. Upstream-Status: Inappropriate [OE specific] Signed-off-by: Mingli Yu --- configure.seed | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/configure.seed b/configure.seed index 55bd49678..94bc0bc48 100644 --- a/configure.seed +++ b/configure.seed @@ -90,22 +90,6 @@ if test $SYSTEM = "FreeBSD" || test $SYSTEM = "Darwin"; then CFLAGS="-fno-color-diagnostics $CFLAGS" fi fi -else - if test $SYSTEM = "Linux"; then - if [ test -f /usr/bin/clang++ ]; then - CC=clang - CXX=clang++ - AC_MSG_RESULT(Using clang++ compiler) - fi - - if [ test -f /etc/redhat-release ]; then - OS=`cat /etc/redhat-release` - else - if [ test -f /usr/bin/lsb_release ]; then - OS=`/usr/bin/lsb_release -d|cut -d ':' -f 2` - fi - fi - fi fi dnl> Remove spaces -- 2.17.1