diff mbox series

[ibsim,02/23] Make gcc don't warn about deprecated declarations

Message ID 20190102131318.5765-2-honli@redhat.com (mailing list archive)
State Not Applicable
Headers show
Series [ibsim,01/23] move sim_cmd_file into ibsim/sim_cmd.c | expand

Commit Message

Honggang LI Jan. 2, 2019, 1:12 p.m. UTC
Signed-off-by: Honggang Li <honli@redhat.com>
---
 defs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/defs.mk b/defs.mk
index 11256c0f0078..4a34f8543861 100644
--- a/defs.mk
+++ b/defs.mk
@@ -24,7 +24,7 @@  else
  LIBS:= -L$(libpath) -libmad -libumad
 endif
 
-CFLAGS += -Wall -g -fpic -I. -I../include $(INCS)
+CFLAGS += -Wall -g -Werror -Wno-deprecated-declarations -fpic -I. -I../include $(INCS)
 LDFLAGS+= -fpic
 
 srcs?=$(wildcard *.c)