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

Message ID 1305983442-1607-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit f085a77693d5de3014a53788af662bbefd80dbea

Commit Message

Sven Eckelmann May 21, 2011, 1:10 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>
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
 CC =		gcc
-CFLAGS +=	-pedantic -Wall -W -Os -g3 -std=gnu99
+CFLAGS +=	-pedantic -Wall -W -std=gnu99
 LDFLAGS +=	-lpthread