From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 3FB933858424; Tue, 4 Oct 2022 12:55:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FB933858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664888153; bh=lQhbxmdz3PYZiHIHO2UyxmzwI0Db0ADxk7qoqsOO3bY=; h=From:To:Subject:Date:From; b=o17EzOAopgoNcN4f7sigFw232mufJxJtUJD7zI7zkl6MsL7AqvT9Y3uNcDFalwb5x rRwk3ByYlvhi56K2oOSQywFmpn/+E/BkuJJ8v7MhihACzMtAY882HT6ygpQSQwn6W9 LMfbDRB5FlqCfROQZPP7IC0VeNrtbuS4PDU9R0ig= 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: 8f56150518b4dbb212304d525153a8b5d9e284f3 X-Git-Newrev: 14097432b203c88dad222ff732c4a3cd63a42165 Message-Id: <20221004125553.3FB933858424@sourceware.org> Date: Tue, 4 Oct 2022 12:55:53 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=14097432b203c88dad222ff732c4a3cd63a42165 commit 14097432b203c88dad222ff732c4a3cd63a42165 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 123de9fd47..8d5a7cef5d 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