From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 0F7DA38344E9; Thu, 9 Jun 2022 13:14:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F7DA38344E9 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] Disable __USE_EXTERN_INLINES for clang X-Act-Checkin: glibc X-Git-Author: Fangrui Song X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 07747b25de183a6c6b61fca88092b22cf26997f6 X-Git-Newrev: 61aa6b8b2c24d72709db45fed0bb8d95894187e6 Message-Id: <20220609131414.0F7DA38344E9@sourceware.org> Date: Thu, 9 Jun 2022 13:14:14 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2022 13:14:14 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61aa6b8b2c24d72709db45fed0bb8d95894187e6 commit 61aa6b8b2c24d72709db45fed0bb8d95894187e6 Author: Fangrui Song Date: Thu Oct 7 18:16:04 2021 -0700 Disable __USE_EXTERN_INLINES for clang Diff: --- include/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/features.h b/include/features.h index 76b8b973d4..70f70ff1a4 100644 --- a/include/features.h +++ b/include/features.h @@ -502,7 +502,7 @@ /* Decide whether we can define 'extern inline' functions in headers. */ #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \ - && defined __extern_inline + && defined __extern_inline && !defined __clang__ # define __USE_EXTERN_INLINES 1 #endif