projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3740c6
)
set -O0 for debug builds
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2008 18:20:10 +0000
(19:20 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2008 18:20:10 +0000
(19:20 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index ecfa8bc9723c43708f7e09c2195ed1b342cd6301..c136915a734565b736d66bacbd41245e3feff79c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,7
@@
COPTS=-O2
CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror
ifneq ($(DEBUG),)
+ COPTS = -O0
CFLAGS += -g3 -DDEBUG_ALL
endif