From patchwork Wed Mar 11 17:03:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Oudinet X-Patchwork-Id: 449091 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D504714015A for ; Thu, 12 Mar 2015 04:03:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=QXsbstzr; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ED9C33389E; Wed, 11 Mar 2015 17:03:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekY+ilZNYGzk; Wed, 11 Mar 2015 17:03:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6042033775; Wed, 11 Mar 2015 17:03:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C61D61C2A8F for ; Wed, 11 Mar 2015 17:03:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BE65C84501 for ; Wed, 11 Mar 2015 17:03:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yr2YTvCYJFq9 for ; Wed, 11 Mar 2015 17:03:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by whitealder.osuosl.org (Postfix) with ESMTPS id 468A689F1F for ; Wed, 11 Mar 2015 17:03:46 +0000 (UTC) Received: by wghk14 with SMTP id k14so10689981wgh.7 for ; Wed, 11 Mar 2015 10:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4DZ7kz45ILkb9FcY+t5S9yBtC7igGusKibq10ngHxZs=; b=QXsbstzrHOhv1aSmOyRgasd9xjAdZ8uJO0k2nuIQbbXZCzg9m0vSEsYl7r9F+gE5Rv Z1C/FPYeDlmw7f/p/7xOvwb/MaQ26brjuf3UA/xXDuP0MSrFKp0AnFgPEZ0vfk6AhuGX wLGP6Iqcexe8OH655jkGnwWViC6EBjVNk2vZeFoBILRSH0gRXg7Ws+pxfrFoygjxJ3sm T4FhH4fB/plVDxs49JZYJAGv5Tokn/DqAWqQZ1jNFVBerVfVFPIY1bMhDY8P7HNX1HB/ 0zRLLrbz5WrdCBvf+a8ZWdNLmKwSXuZSfn2yDLdGNXuMubCHl1ap29/sSt1Tflb0ttXo ud5Q== X-Received: by 10.180.73.205 with SMTP id n13mr79515075wiv.64.1426093424886; Wed, 11 Mar 2015 10:03:44 -0700 (PDT) Received: from localhost.localdomain ([193.51.194.209]) by mx.google.com with ESMTPSA id dc9sm25371990wib.9.2015.03.11.10.03.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Mar 2015 10:03:43 -0700 (PDT) From: Johan Oudinet To: buildroot@buildroot.org Date: Wed, 11 Mar 2015 18:03:21 +0100 Message-Id: <1426093401-23108-1-git-send-email-johan.oudinet@gmail.com> X-Mailer: git-send-email 2.1.0 Subject: [Buildroot] [PATCH 1/1] package/Makefile.in: Do not add --enable-debug flag. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Adding this flag when BR2_ENABLE_DEBUG is activated make several packages to produce binaries that do not work as expected (e.g., dhcp, lame, nano). Moreover, the help message of BR2_ENABLE_DEBUG does not say it is adding this flag. It is supposed to build packages with debugging symbols enabled. So, let it do that only. Signed-off-by: Johan Oudinet --- package/Makefile.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/Makefile.in b/package/Makefile.in index 803b162..2995222 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -387,9 +387,7 @@ ifneq ($(BR2_INSTALL_LIBSTDCPP),y) TARGET_CONFIGURE_OPTS += CXX=false endif -ifeq ($(BR2_ENABLE_DEBUG),y) -ENABLE_DEBUG := --enable-debug -else +ifneq ($(BR2_ENABLE_DEBUG),y) ENABLE_DEBUG := --disable-debug endif