From ba088d0e52eb4db923bfd85c0328e4a37811ce43 Mon Sep 17 00:00:00 2001 From: François Revel Date: Sat, 24 Mar 2012 06:54:37 +0000 Subject: Disable -Werror for BeOS in libdom. Disable the libxml binding on BeOS for the time being. svn path=/trunk/libdom/; revision=13575 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8da3d46..3d906ca 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,11 @@ TESTRUNNER := $(PERL) build/testtools/testrunner.pl # Toolchain flags WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -Werror -pedantic + -Wmissing-declarations -Wnested-externs -pedantic +# BeOS/Haiku standard library headers create warnings +ifneq ($(TARGET),beos) + WARNFLAGS := $(WARNFLAGS) -Werror +endif CFLAGS := -std=c99 -D_BSD_SOURCE -D_GNU_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src -I$(CURDIR)/binding $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3