diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/parse/properties/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |