[01/13] vis: Remove optimisation and debugging options

Message ID 1305985517-3763-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit f15c90371469fbd2196fb94cec6aa75e35f2a4ef
Headers

Commit Message

Sven Eckelmann May 21, 2011, 1:45 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:
 - vis: Remove obsolete creation of source packages
 - vis: Remove subversion/svk revision information

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Patch

diff --git a/Makefile b/Makefile
index c808391..6867a5f 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@  endif
 endif
 
 CC =		gcc
-CFLAGS +=	-pedantic -Wall -W -O1 -g3 -std=gnu99
+CFLAGS +=	-pedantic -Wall -W -std=gnu99
 EXTRA_CFLAGS =	-DDEBUG_MALLOC -DMEMORY_USAGE -DREVISION_VERSION=$(REVISION_VERSION)
 LDFLAGS +=	-lpthread