summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-12-19 13:30:45 +0000
committerVincent Sanders <vince@kyllikki.org>2014-12-19 13:30:45 +0000
commit99d4ae0054f8e4d681f5a7dd0f3bf2f0ce7df27a (patch)
treeb9502e806033b01648310d748dbf74040fc3f6af /Makefile
parentada8b3c6abeaa2d08c3ed1c349bdade4843a028c (diff)
downloadlibdom-99d4ae0054f8e4d681f5a7dd0f3bf2f0ce7df27a.tar.gz
libdom-99d4ae0054f8e4d681f5a7dd0f3bf2f0ce7df27a.tar.bz2
Update to use correct BUILD/HOST variables due to buildsystem changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c9c1bd7..14fea99 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 ($(BUILD),i586-pc-haiku)
+ifneq ($(HOST),i586-pc-haiku)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
# AmigaOS needs this to avoid warnings
-ifeq ($(findstring amigaos,$(BUILD)),amigaos)
+ifeq ($(findstring amigaos,$(HOST)),amigaos)
CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \