summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:31:25 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:31:25 +0000
commite580b0f59fb7868578dcb2b10fbd32bd60673f37 (patch)
treefca6464574b29d93bb99e8f567cf115714c32cff
parent8eacb88c2752c6c9e55caa60068392e3d424c763 (diff)
downloadlibdom-e580b0f59fb7868578dcb2b10fbd32bd60673f37.tar.gz
libdom-e580b0f59fb7868578dcb2b10fbd32bd60673f37.tar.bz2
Fix up for new buildsystem
-rw-r--r--Makefile4
-rw-r--r--Makefile.config2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2e2d4f5..c9c1bd7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,11 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
# BeOS/Haiku standard library headers generate warnings
-ifneq ($(TARGET),beos)
+ifneq ($(BUILD),i586-pc-haiku)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
# AmigaOS needs this to avoid warnings
-ifeq ($(TARGET),amiga)
+ifeq ($(findstring amigaos,$(BUILD)),amigaos)
CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
diff --git a/Makefile.config b/Makefile.config
index 254dfdf..04971d5 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -12,7 +12,7 @@ WITH_HUBBUB_BINDING := yes
# ----------------------------------------------------------------------------
# BeOS-specific options
# ----------------------------------------------------------------------------
-ifeq ($(TARGET),beos)
+ifeq ($(BUILD),i586-pc-haiku)
# temporary
WITH_LIBXML_BINDING := no
endif