diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-12-19 13:30:45 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-12-19 13:30:45 +0000 |
commit | 99d4ae0054f8e4d681f5a7dd0f3bf2f0ce7df27a (patch) | |
tree | b9502e806033b01648310d748dbf74040fc3f6af /Makefile | |
parent | ada8b3c6abeaa2d08c3ed1c349bdade4843a028c (diff) | |
download | libdom-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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/ \ |