[01/14] batctl: Remove optimisation and debugging options

Message ID 1305980898-30494-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit bf2326ed1b2a11070a332208c502868cb2ec77a4
Headers

Commit Message

Sven Eckelmann May 21, 2011, 12:28 p.m. UTC
  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 <sven@narfation.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Comments

Marek Lindner May 22, 2011, 9:29 a.m. UTC | #1
On Saturday 21 May 2011 14:28:05 Sven Eckelmann wrote:
> 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.

Applied in revision bf2326e.

Thanks,
Marek
  

Patch

diff --git a/Makefile b/Makefile
index 217a00a..3b9e853 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@  endif
 endif
 
 CC = gcc
-CFLAGS += -pedantic -Wall -W -g3 -std=gnu99 -Os -fno-strict-aliasing
+CFLAGS += -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing
 EXTRA_CFLAGS = -DREVISION_VERSION=$(REVISION_VERSION)
 LDFLAGS += -lm