summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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