2011-08-10 09:27:50 +00:00
|
|
|
Description: This patch includes the optimization parameters for g++
|
|
|
|
Author: Sandro Tosi <matrixhasu@gmail.com>
|
|
|
|
Last-Update: 2007-10-08
|
2011-07-15 18:33:10 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
|
|
|
@@ -6,7 +6,14 @@
|
|
|
|
mandir = ${prefix}/share/man
|
2014-10-05 15:29:59 +00:00
|
|
|
|
2011-07-15 18:33:10 +00:00
|
|
|
CXX = g++
|
|
|
|
-CXXFLAGS = -O -Wall
|
|
|
|
+CXXFLAGS = -Wall -g
|
|
|
|
+
|
|
|
|
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
|
|
|
+ CXXFLAGS += -O0
|
|
|
|
+else
|
|
|
|
+ CXXFLAGS += -O2
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
EXTRA_LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext
|
2014-10-05 15:29:59 +00:00
|
|
|
|
|
|
|
|