From patchwork Fri Jun 12 02:24:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307963 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl6q2yx9z9sRN for ; Fri, 12 Jun 2020 12:29:39 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hzfL16eu; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl6q242yzDqsx for ; Fri, 12 Jun 2020 12:29:39 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hzfL16eu; dkim-atps=neutral Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49jl2G0SLqzDqts for ; Fri, 12 Jun 2020 12:25:41 +1000 (AEST) Received: by mail-wm1-x343.google.com with SMTP id g10so6690287wmh.4 for ; Thu, 11 Jun 2020 19:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f51CbLgBVkr1z3VNK+1cHnfnU2gUKTbG/ZuDCF9Kavo=; b=hzfL16euSavJOTPPzN/CIxn0W5SuR/ZyqqsWRPG4UjdB1EcxS1pF5CT4QqRiyNgZDe Zx6uyKgGshXnxXkQt4fgciAAuyENKq04EDrZNoNbuNYMwOGSS3G4MDLA1ixp/QTD1+4/ Y6UcsTSBdmmynxpdoQEdohKRGFclcKTKUNgNthgmy72LzHx2Zo/0p52f3e2JuPEB/92U RSs+LzwzdR4bQRRl1d2Y0oI77+hU3ymWBl5NWykkT5UztZQzFA8870U+qfUmSJKLHEwd Tf5wLPNbLpaoS46I3FldZESqpFqiyBC+7RKASfhXCRziW3kDEdqRaoDjzqcFTCo3RVNx 5OlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f51CbLgBVkr1z3VNK+1cHnfnU2gUKTbG/ZuDCF9Kavo=; b=AMC07Mpp9c4C7EV8gvrSurOXTK1YCujHfImvAMswLf91wHWS0+1yqCFi3d1A7enIsv y06Raith6LCs6FGtD61jmqEdopi+hBV6BTtmBp/37TKnK1fz30ZuxMmkia4DUrXBQUTe pl2z22nswjg5qlcMXyo6BiHTQMWOMjrd6u6NWXk0fa7R+60E9/bBMudFtTN91yRK6aVF nkoymTMlp3Guy+C/IOsBWJuc+G4habFRaBwF7Dv3zOGq0sSCDTqCdUHcZSVu9P8Z6Vo8 txhu+9YXeX58YjZRRQ/8VhDfLhmXLtW0vhTqvjaJdc6Gt67Mu05LM7ryV10unpM5yhLv fyvw== X-Gm-Message-State: AOAM530nJKCKh+4XNDNjE5Z7JNx5g3UKTDrcGaiZWetSL5FKIizSS2Hm lXJhCu7MMptafXrnVVdBG/YtRSme X-Google-Smtp-Source: ABdhPJyOjOq/Ru0HdlvI9Nw65UgTqO4PN3AK+2wcf3np4VSXzs+28egaFR0iLSJXnU/oZ4Yy1O1rYg== X-Received: by 2002:a1c:5502:: with SMTP id j2mr10752775wmb.15.1591928737619; Thu, 11 Jun 2020 19:25:37 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:37 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:51 +1000 Message-Id: <20200612022452.371685-15-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 14/15] makefile: Supress Werror on clang X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" We get a lot more warnings from clang so disable Werror for now so it fails to compile elsewhere. Signed-off-by: Oliver O'Halloran --- Makefile.main | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.main b/Makefile.main index ec69b2d2c882..c429bf1dfb7d 100644 --- a/Makefile.main +++ b/Makefile.main @@ -43,6 +43,11 @@ CWARNS += -Werror endif endif +# clang tends to emit more warnings so stop those breaking the build for now +ifeq ($(cc-name),clang) +CWARNS += -Wno-error +endif + # Host tools and options HOSTCC=gcc HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/')