From patchwork Thu Apr 20 19:42:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 9691189 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2B08F6037F for ; Thu, 20 Apr 2017 19:42:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 111311FF21 for ; Thu, 20 Apr 2017 19:42:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0228526E4D; Thu, 20 Apr 2017 19:42:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8337F1FF21 for ; Thu, 20 Apr 2017 19:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S947201AbdDTTmq (ORCPT ); Thu, 20 Apr 2017 15:42:46 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:33296 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S947198AbdDTTmp (ORCPT ); Thu, 20 Apr 2017 15:42:45 -0400 Received: by mail-io0-f175.google.com with SMTP id k87so84139139ioi.0 for ; Thu, 20 Apr 2017 12:42:45 -0700 (PDT) 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; bh=uqjuyeZ/EQzcmWrIRR9sAJWnwrD+VZUL8Eo1rA1OMDA=; b=pKTMoe668P29gAcNm83mXw4bpLvupLMU2LmWIeE+0L+2zLtyxFBpIVjbtc7IkhGHfO JYX3erpPKzQkgem8V+f/0VARD50VrwvCIjKWPrPswcW8swQUPc/Un5TQIuN9HSq/HxIB ciwoJEOq7EJOdMDTctoCwvMGBw4JE04kMCDzOKRefZWD5+DccdddHp2jdZa0T3hks8LH y3gJeGmGZlDbGlBt5MFF7KDTnPVVZPP0LJOWW3XMrwHTBz1dozzVcOdKMXWE5tor614Z KFhFO/ReiQkX5qgJV4j2RApgvBaByDCGsDAJsM9OS6H0zfkH/03z4BfCZaDiX6Szewue Iepw== X-Gm-Message-State: AN3rC/6P0jC85IgPR8w7m6M6h/AodJSK0vPoF57ACeaVXdorxrkLpewb pekM2ntPobdMQyT0 X-Received: by 10.99.95.134 with SMTP id t128mr8950581pgb.84.1492717363348; Thu, 20 Apr 2017 12:42:43 -0700 (PDT) Received: from mka.mtv.corp.google.com ([172.22.64.162]) by smtp.gmail.com with ESMTPSA id n74sm2319595pfa.87.2017.04.20.12.42.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Apr 2017 12:42:42 -0700 (PDT) From: Matthias Kaehlcke To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Grant Grundler , Greg Hackmann , Michael Davidson , Matthias Kaehlcke Subject: [PATCH RESEND] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS Date: Thu, 20 Apr 2017 12:42:00 -0700 Message-Id: <20170420194200.108884-1-mka@chromium.org> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Michael Davidson Add -no-integrated-as to KBUILD_AFLAGS and KBUILD_CFLAGS for clang. Signed-off-by: Michael Davidson Signed-off-by: Matthias Kaehlcke --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5039b9148d15..3832c8243334 100644 --- a/Makefile +++ b/Makefile @@ -710,6 +710,8 @@ KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare) # See modpost pattern 2 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) +KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) +KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) else # These warnings generated too much noise in a regular build.