>>> On 31.08.18 at 12:56, <[email protected]> wrote:
> --- a/xen/Rules.mk
> +++ b/xen/Rules.mk
> @@ -55,7 +55,7 @@ endif
>  
>  CFLAGS += -nostdinc -fno-builtin -fno-common
>  CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith
> -CFLAGS += -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h
> +CFLAGS += -pipe -D__XEN__ -include $(BASEDIR)/include/xen/config.h
>  CFLAGS += '-D__OBJECT_FILE__="$@"'
>  
>  ifneq ($(clang),y)
> @@ -65,6 +65,7 @@ ifneq ($(clang),y)
>  CFLAGS += -Wa,--strip-local-absolute
>  endif
>  
> +CFLAGS-$(CONFIG_DEBUG_INFO) += -g
>  ifneq ($(max_phys_irqs),)
>  CFLAGS-y                += -DMAX_PHYS_IRQS=$(max_phys_irqs)
>  endif

I don't understand why you move the addition of -g down here, but this
can be easily adjusted while committing. With this taken care of
Acked-by: Jan Beulich <[email protected]>

Jan



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to