[前][次][番号順一覧][スレッド一覧]

ruby-changes:57614

From: Nobuyoshi <ko1@a...>
Date: Fri, 6 Sep 2019 18:44:20 +0900 (JST)
Subject: [ruby-changes:57614] dd26c9f333 (master): Check clang++ as CXX when CXX is bare clang without suffix

https://git.ruby-lang.org/ruby.git/commit/?id=dd26c9f333

From dd26c9f333b9681b3b14cf01969cda9d77368cbc Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 6 Sep 2019 18:35:37 +0900
Subject: Check clang++ as CXX when CXX is bare clang without suffix


diff --git a/configure.ac b/configure.ac
index 80b137e..2a71a91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,7 @@ AS_CASE([$CC], https://github.com/ruby/ruby/blob/trunk/configure.ac#L192
 [gcc-*], [
     gcc_prefix=gcc- gcc_suffix=`echo "$CC" | sed 's/^gcc//'`
     AC_PROG_CXX(g++${gcc_suffix})],
-[clang-*], [
+[clang-*|clang], [
     gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^clang//'`
     AC_PROG_CXX(clang++${gcc_suffix})],
 [gcc_prefix= gcc_suffix=])
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]