From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.0.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 504FB20285 for ; Wed, 30 Aug 2017 13:05:58 +0000 (UTC) Received: from localhost ([::1]:50482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn2gv-0000vN-9N for normalperson@yhbt.net; Wed, 30 Aug 2017 09:05:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn1Py-000366-KB for bug-gnulib@gnu.org; Wed, 30 Aug 2017 07:44:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn1Px-0003xr-Rk for bug-gnulib@gnu.org; Wed, 30 Aug 2017 07:44:22 -0400 Received: from foss.arm.com ([217.140.101.70]:50660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn1Px-0003xb-LP for bug-gnulib@gnu.org; Wed, 30 Aug 2017 07:44:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 02C7080D; Wed, 30 Aug 2017 04:44:21 -0700 (PDT) Received: from c02n40n5fh04.manchester.arm.com (c02n40n5fh04.manchester.arm.com [10.45.32.184]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 45A3D3F578; Wed, 30 Aug 2017 04:44:20 -0700 (PDT) From: pawel.osmialowski@foss.arm.com To: bug-gnulib@gnu.org Subject: [PATCH] Support for Flang and ARM HPC compiler Date: Wed, 30 Aug 2017 12:43:59 +0100 Message-Id: <20170830114359.62298-2-pawel.osmialowski@foss.arm.com> X-Mailer: git-send-email 2.11.0 (Apple Git-81) In-Reply-To: <20170830114359.62298-1-pawel.osmialowski@foss.arm.com> References: <20170830114359.62298-1-pawel.osmialowski@foss.arm.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.140.101.70 X-Mailman-Approved-At: Wed, 30 Aug 2017 09:05:39 -0400 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Osmialowski Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" From: Paul Osmialowski Signed-off-by: Paul Osmialowski --- build-aux/config.rpath | 3 +++ m4/std-gnu11.m4 | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build-aux/config.rpath b/build-aux/config.rpath index af3c41559..4e0419c9c 100755 --- a/build-aux/config.rpath +++ b/build-aux/config.rpath @@ -79,6 +79,9 @@ else nagfor*) wl='-Wl,-Wl,,' ;; + armflang* | flang*) + wl='-Wl,' + ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4 index 9dae9b1cc..87e8df7e5 100644 --- a/m4/std-gnu11.m4 +++ b/m4/std-gnu11.m4 @@ -59,6 +59,9 @@ if test -z "$CC"; then AC_CHECK_TOOLS(CC, cl.exe) fi if test -z "$CC"; then + AC_CHECK_TOOL(CC, armclang) +fi +if test -z "$CC"; then AC_CHECK_TOOL(CC, clang) fi ]) @@ -126,7 +129,7 @@ if test -z "$CXX"; then else AC_CHECK_TOOLS(CXX, [m4_default([$1], - [g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++])], + [g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC armclang++ clang++])], g++) fi fi -- 2.11.0 (Apple Git-81)