[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Stop enforcing -g for some of the tools.



Hi, John

I have small questions.

The following option is  written in $(XEN_ROOT)/Config.mk.
=====================
ifneq ($(debug),y)
CFLAGS += -DNDEBUG
else
CFLAGS += -g
endif
=====================

So I think tools is compiled with -g by default if your patch is applied.
Am I right?

>diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
>--- a/tools/xenstore/Makefile
>+++ b/tools/xenstore/Makefile
>@@ -6,7 +6,7 @@ MINOR = 0
> MINOR = 0
> 
> PROFILE=#-pg
>-BASECFLAGS=-Wall -g -Werror
>+BASECFLAGS=-Werror
> # Make gcc generate dependencies.
> BASECFLAGS += -Wp,-MD,.$(@F).d
> PROG_DEP = .*.d
Why do you remove -Wall?

Best Regards,

Akio Takebe


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.