All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/Makefile: drop -Werror
@ 2021-07-02 17:06 Fabrice Fontaine
  2021-07-02 17:34 ` Andrew Cooper
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Fontaine @ 2021-07-02 17:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Fabrice Fontaine

Drop -Werror to avoid the following build failure with -DNDEBUG:

In file included from <command-line>:0:0:
/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/xen-4.14.2/xen/include/xen/config.h:94:0: error: "NDEBUG" redefined [-Werror]
 #define NDEBUG

<command-line>:0:0: note: this is the location of the previous definition

Fixes:
 - http://autobuild.buildroot.org/results/66573ad0abc4244c0dfeac8b684a7bfcc31c0d4d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Makefile b/xen/Makefile
index 89879fad4c..cf9f83b1fb 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -210,7 +210,7 @@ CFLAGS += -fomit-frame-pointer
 endif
 
 CFLAGS += -nostdinc -fno-builtin -fno-common
-CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith
+CFLAGS += -Wredundant-decls -Wno-pointer-arith
 $(call cc-option-add,CFLAGS,CC,-Wvla)
 CFLAGS += -pipe -D__XEN__ -include $(BASEDIR)/include/xen/config.h
 CFLAGS-$(CONFIG_DEBUG_INFO) += -g
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-05  9:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 17:06 [PATCH] xen/Makefile: drop -Werror Fabrice Fontaine
2021-07-02 17:34 ` Andrew Cooper
2021-07-02 17:51   ` Fabrice Fontaine
2021-07-02 18:52     ` Elliott Mitchell
2021-07-05  8:09       ` Jan Beulich
2021-07-05  8:16     ` Jan Beulich
2021-07-05  9:27       ` Fabrice Fontaine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.