From owner-freebsd-x11@FreeBSD.ORG Mon Mar 23 08:41:36 2015 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00950467 for ; Mon, 23 Mar 2015 08:41:35 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88AB6613 for ; Mon, 23 Mar 2015 08:41:35 +0000 (UTC) Received: by wgbcc7 with SMTP id cc7so139765751wgb.0 for ; Mon, 23 Mar 2015 01:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9QjVlqgXOXQ5+1+At0DPfTkdUCaO4K1eG/E74RIU+zA=; b=rHKoEXNnwxvSQYmmoGBHz6LBgIvFsMqxYqYoiYojy5vZ1qdutFEAtU+0wMivTAgMc1 wxMi0uZ5tqJB6s/D4167mggToA351RrQDdwdB6wJDwiGo6kadt6wjIx9Zpa7GrNeF0cc JD6DSkfEWD/YoOGsmOTFlK6jHE5kQ8rdLXcTmTYCy5JPzlWAXJqUYaFD58Buig+J+x2p GexaolHC1ghxsekP2kR+gdhzCAuQisQUUmetNMKzfOTjos2nAPE3SY3pOZQZZL8VTwmu fkUthdqATVFUj+L+0hRQX3GggF3Cv+j4fqSd5oYaJiiAvwSx7M0WrzXirwgTHylnkHvz 5yIg== MIME-Version: 1.0 X-Received: by 10.180.202.228 with SMTP id kl4mr16997585wic.66.1427100094015; Mon, 23 Mar 2015 01:41:34 -0700 (PDT) Received: by 10.28.101.212 with HTTP; Mon, 23 Mar 2015 01:41:33 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Mar 2015 09:41:33 +0100 Message-ID: Subject: Re: libdrm clang From: Andreas Nilsson To: side light Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 08:41:36 -0000 On Mon, Mar 23, 2015 at 9:17 AM, side light wrote: > Hello, > Is it possible to remove gmake from x-11/libdrm 's Makefile so that > libdrm can compile with Freebsd's Native CLang. I've tried it, and it > made xorg-minimal 's compile time fast, while removing complicated > gmake dependency options. Thank you. > Could you be a bit more specific? And do you mean graphics/libdrm? There is choice of make does not affect the C compiler used, gmake will happily use clang. Rewriting the whole build-system of a port is no small task. Clang also seem to support depency generation. Regards Andreas