From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C55A01B682 for ; Wed, 31 Jan 2018 00:41:16 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4888B20F01; Tue, 30 Jan 2018 18:41:16 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 30 Jan 2018 18:41:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=icUvJEh97XhVzpHEtXrqlf9IyR eeeRDbCHSpTLIuNsQ=; b=H647DZZuk+c20Wxm5IygcYCWlfxNRTl92UU66832x0 fsPZUyljZaXitMWFpXrUFEyF45gsBegy1qYb6N2MNy+ysYb1BlBtX1wikjj3/QdT TIuX+rA+qYxL1ED8Wc+fVGU4jzHHpYteVeSJYlvVSA6+eOrJtJ8emaf8MlxSxthx s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=icUvJE h97XhVzpHEtXrqlf9IyReeeRDbCHSpTLIuNsQ=; b=X+rGj3ZCP0xtV01ZdyYe8C 0ywqQagNV6uPpayjwo6NwPUjJYPfYRLr8Ek2u/UWIX77bGj1buITjUNKdzl2DoVE ktej4jJ5YrDhmF6KXxt4OarfpT6tQmZS27Lcsmey4J0c+r7rN63PbA+csQy4rREl TaaNKxUJ4V+mzJwX9OQ0s0hdHBeYevSr/YAg7803BsoYj5/fDAqFm7Oko+KOdE84 gohsEgHpRISOh2ubq9uPc3w8hW6icGf+PvPWT2WgvNJtxgWj/zW753lnvsvhL30E 5KOXehbIw3zFZuPioe2nOJMB8ZoN3/nSzOQwQKblkfoUvOa+hh3GS5I3E8KXnf5Q == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id F2B6B24640; Tue, 30 Jan 2018 18:41:15 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, John McNamara Date: Wed, 31 Jan 2018 00:40:28 +0100 Message-ID: <9672510.c4JnJd36Tx@xps> In-Reply-To: <20171216001350.90436-1-ferruh.yigit@intel.com> References: <20171216001350.90436-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: add debug target X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 23:41:17 -0000 16/12/2017 01:13, Ferruh Yigit: > Add "debug" target to build library with debug symbols and optimization > disabled. > > This is shortcut for exiting method to compile with > EXTRA_CFLAGS="-O0 -g3" > > Signed-off-by: Ferruh Yigit > --- > + debug build library with debug symbols [...] > +.PHONY: debug > +debug: > + $(Q)$(MAKE) EXTRA_CFLAGS="-O0 -g3" This target will override any EXTRA_CFLAGS, so we cannot build in debug mode with more extra cflags this way. I think the cons are higher than the pros.