summaryrefslogtreecommitdiff
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
parentaef7e38a578de7ba43a2987d889a554df3be7277 (diff)
downloadlibcss-78c9527819b6acbf4d3826383eaa328780170b48.tar.gz
libcss-78c9527819b6acbf4d3826383eaa328780170b48.tar.bz2
Update to use correct BUILD/HOST variables due to buildsystem changes
-rw-r--r--Makefile4
-rw-r--r--src/parse/properties/Makefile2
2 files changed, 3 insertions, 3 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
diff --git a/src/parse/properties/Makefile b/src/parse/properties/Makefile
index 0e29d1c..6d6cff0 100644
--- a/src/parse/properties/Makefile
+++ b/src/parse/properties/Makefile
@@ -7,7 +7,7 @@ define build_gen_parser
$(BUILDDIR)/gen_parser: $(DIR)css_property_parser_gen.c
$$(VQ)$$(ECHO) $$(ECHOFLAGS) " PREPARE: $$@"
- $$(Q)$$(HOST_CC) -o $$@ $$^
+ $$(Q)$$(BUILD_CC) -o $$@ $$^
endef