diff options
| -rw-r--r-- | meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch index 6be0246626..718f8c19f1 100644 --- a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch +++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch | |||
| @@ -35,9 +35,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 35 | + fi | 35 | + fi |
| 36 | + assert "$CC" "not found" | 36 | + assert "$CC" "not found" |
| 37 | +fi | 37 | +fi |
| 38 | +if `$CC --version | grep gcc >& /dev/null`; then | 38 | +if `$CC --version | grep gcc > /dev/null 2>&1`; then |
| 39 | + COMPILER=gcc | 39 | + COMPILER=gcc |
| 40 | +elif `$CC --version | grep clang >& /dev/null`; then | 40 | +elif `$CC --version | grep clang > /dev/null 2>&1`; then |
| 41 | + COMPILER=clang | 41 | + COMPILER=clang |
| 42 | +else | 42 | +else |
| 43 | + COMPILER="not-found" | 43 | + COMPILER="not-found" |
