From patchwork Wed Jul 1 12:25:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 490116 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 498631402B1 for ; Wed, 1 Jul 2015 22:26:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=wsjgvr99; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=wZF263jKajiYZ+hY1zIUtrqKBPiKuuNezlo86UkgaO3YNO EJrZzuFEdXA1wlj/UQR+DBbkmhLt72NagyO+9uR5B+t0xh6zxhMO+tUVtrspcJqh tFUETi5VC4Y0fhAARPLO0OZdj46jLzJO6BhdokfYf2ohRZeMW6aF/Ln+45YEw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=gMT4MaD5qj5YaA6hJWaQ9k64Gr0=; b=wsjgvr99Yx/i1OMRX7NF 94KtZ6CbWOCLHhRtb0ycDSGQNmMTLi7eoPPEZPqtM4O6MAPaPmMXvOKQR9JXzTA+ BWYss/6nGajvhyHLGuPzA4NnBL0jhUKKqyUofQNA9RQ51gcq3ud3pDabX1xpTjmZ 1Fc/D2NtNdaqXfkoceyTpQ8= Received: (qmail 93951 invoked by alias); 1 Jul 2015 12:25:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 93942 invoked by uid 89); 1 Jul 2015 12:25:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f170.google.com Received: from mail-ob0-f170.google.com (HELO mail-ob0-f170.google.com) (209.85.214.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 01 Jul 2015 12:25:51 +0000 Received: by obbkm3 with SMTP id km3so26923907obb.1 for ; Wed, 01 Jul 2015 05:25:49 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.92.198 with SMTP id co6mr24573606oeb.3.1435753549418; Wed, 01 Jul 2015 05:25:49 -0700 (PDT) Received: by 10.60.147.170 with HTTP; Wed, 1 Jul 2015 05:25:49 -0700 (PDT) Date: Wed, 1 Jul 2015 14:25:49 +0200 Message-ID: Subject: =?UTF-8?Q?=5BPATCH=2C_lto=2Dplugin=5D=3A_Avoid_=22warning=3A_implicit_declar?= =?UTF-8?Q?ation_of_function_=E2=80=98asprintf=E2=80=99_when_building_lto=2Dplugin=2Eo=22?= From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Hello! We have to enable OS extensions (GNU_SOURCE) to use asprintf. 2015-07-01 Uros Bizjak * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. * configure: Regenerate. * config.h.in: Ditto. Bootstrapped on x86_64-linux-gnu. OK for mainline? Uros. Index: configure.ac =================================================================== --- configure.ac (revision 225240) +++ configure.ac (working copy) @@ -9,6 +9,7 @@ [specify the directory where to find libiberty [../libiberty]])], [], with_libiberty=../libiberty) AC_SUBST(with_libiberty) +AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC AC_SYS_LARGEFILE ACX_PROG_CC_WARNING_OPTS([-Wall], [ac_lto_plugin_warn_cflags])