repo.or.cz
/
dockapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wmmixer: Add 'debian' folder
[dockapps.git]
/
wmmixer
/
debian
/
patches
/
02_Makefile_optimization.patch
blob
330ac7a81611b33eb3f272defd1de22842f394f8
1
This patch includes the optimization parameters for g++
2
--- a/Makefile
3
+++ b/Makefile
4
@@ -6,7 +6,14 @@
5
mandir = ${prefix}/share/man
6
7
CXX = g++
8
-CXXFLAGS = -O -Wall
9
+CXXFLAGS = -Wall -g
10
+
11
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
12
+ CXXFLAGS += -O0
13
+else
14
+ CXXFLAGS += -O2
15
+endif
16
+
17
EXTRA_LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext
18
19