aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar Grissiom <chaos.proton@gmail.com>2010-10-05 02:22:33 +0800
committerGravatar Grissiom <chaos.proton@gmail.com>2010-10-05 02:22:33 +0800
commitd559c3fe2e5c0324f66d3f2fc1eed330c5ead34e (patch)
tree1e1371cde744e6bba1f9350528d940ae3907fc7e /Makefile.in
parent27df727ca11dfeac74214609771eacfccd4d5c08 (diff)
fix bug in build debug targe
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index c9614f6d..3847f512 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -60,7 +60,7 @@ optbindirs = @optbindirs@
#
MACROS = -DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\"
-CFLAGS = @CFLAGS@ $(MACROS)
+CFLAGS = @CFLAGS@ $(MACROS) $(EXTRA_CFLAGS)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LIBS@ @LDFLAGS@
LDFLAGS_FISH = ${LDFLAGS} @LIBS_FISH@ @LDFLAGS_FISH@
@@ -299,7 +299,7 @@ Makefile: Makefile.in configure
#
debug:
- $(MAKE) fish CFLAGS="@CFLAGS@ $(MACROS) -O0 -Wno-unused -Werror -g"
+ $(MAKE) all EXTRA_CFLAGS="-O0 -Wno-unused -Werror -g"
.PHONY: debug