From patchwork Sat May 21 13:10:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 1064 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 901741543FF for ; Sat, 21 May 2011 15:10:44 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@narfation.org; dkim-adsp=pass Received: from sven-desktop.home.narfation.org (i59F6B98B.versanet.de [89.246.185.139]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id D5BD594045; Sat, 21 May 2011 15:11:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1305983465; bh=bZsaKJHP8Tf9xSN69oAq4whDvJhRNztPJ3GDjQ0vdP8=; h=From:To:Cc:Subject:Date:Message-Id; b=p06XlEqin6yroNgCvxuUncvVkI2nTlKJXIk3QkzWKiryHDdZCpuPiB1CMD0Rn7k7w Xy7DqJD3zaOWA1fdslJ7V8fzJvHnGfRsDvDD8EcyJ+NLwn9ca6idvWALxADfHv6Zfa MsIDHbte3QmE7k7slY9xmxmnw4b6Jf5g9hwI6NXA= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sat, 21 May 2011 15:10:29 +0200 Message-Id: <1305983442-1607-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.5.1 Subject: [B.A.T.M.A.N.] [PATCH 01/14] batmand: Remove optimisation and debugging options X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2011 13:10:44 -0000 Distributions like Gentoo or Debian have to strip the options regarding the optimisation levels and debugging information to fulfil their policies. There is currently no valid reason why the Makefile should override it. Signed-off-by: Sven Eckelmann --- This patch depends on other patches submitted earlier: - batmand: Fix FTBFS on second build attempt - batmand: Remove obsolete creation of source packages - batmand: Remove subversion/svk revision information - batmand: Use nproc to get number of available processors Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 4df2872..49342ac 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ endif #NO_POLICY_ROUTING = -DNO_POLICY_ROUTING CC = gcc -CFLAGS += -pedantic -Wall -W -Os -g3 -std=gnu99 +CFLAGS += -pedantic -Wall -W -std=gnu99 EXTRA_CFLAGS = -DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA $(NO_POLICY_ROUTING) -DREVISION_VERSION=$(REVISION_VERSION) LDFLAGS += -lpthread