[01/14] batmand: Remove optimisation and debugging options
Commit Message
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(-)
@@ -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