From patchwork Wed Oct 4 13:26:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 9984723 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 3181660365 for ; Wed, 4 Oct 2017 13:26:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 237EA28405 for ; Wed, 4 Oct 2017 13:26:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17CA1285E7; Wed, 4 Oct 2017 13:26:21 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 CFB2028405 for ; Wed, 4 Oct 2017 13:26:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751997AbdJDN0T (ORCPT ); Wed, 4 Oct 2017 09:26:19 -0400 Received: from arcturus.kleine-koenig.org ([78.47.169.190]:54540 "EHLO arcturus.kleine-koenig.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752622AbdJDN0P (ORCPT ); Wed, 4 Oct 2017 09:26:15 -0400 Received: by arcturus.kleine-koenig.org (Postfix, from userid 1000) id 007D31C26A5; Wed, 4 Oct 2017 15:26:13 +0200 (CEST) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: linux-sparse@vger.kernel.org Subject: [PATCH 4/6] build: drop -g from LDFLAGS Date: Wed, 4 Oct 2017 15:26:03 +0200 Message-Id: <20171004132605.24734-5-uwe@kleine-koenig.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171004132605.24734-1-uwe@kleine-koenig.org> References: <20171004132605.24734-1-uwe@kleine-koenig.org> MIME-Version: 1.0 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP -g is a compiler option that is ignored by the linker. So it should be included in CFLAGS (it already is) but not LDFLAGS. Signed-off-by: Uwe Kleine-König --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 069dae6c8fdb..39b34f90107d 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,6 @@ OS = linux CC = gcc CFLAGS = -O2 -finline-functions -fno-strict-aliasing -g CFLAGS += -Wall -Wwrite-strings -LDFLAGS += -g LD = gcc AR = ar PKG_CONFIG = pkg-config