summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-12-19 13:31:55 +0000
committerVincent Sanders <vince@kyllikki.org>2014-12-19 13:31:55 +0000
commit78c9527819b6acbf4d3826383eaa328780170b48 (patch)
tree19a541442490f77a70512c6dde2fb85aee909701 /Makefile
parentaef7e38a578de7ba43a2987d889a554df3be7277 (diff)
downloadlibcss-78c9527819b6acbf4d3826383eaa328780170b48.tar.gz
libcss-78c9527819b6acbf4d3826383eaa328780170b48.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 dffe582..6fb7772 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
# BeOS/Haiku/AmigaOS4 standard library headers create warnings
-ifneq ($(BUILD),i586-pc-haiku)
- ifneq ($(findstring amigaos,$(BUILD)),amigaos)
+ifneq ($(HOST),i586-pc-haiku)
+ ifneq ($(findstring amigaos,$(HOST)),amigaos)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
endif