diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | Makefile.config | 2 |
2 files changed, 3 insertions, 3 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 ($(TARGET),beos) +ifneq ($(BUILD),i586-pc-haiku) WARNFLAGS := $(WARNFLAGS) -Werror endif # AmigaOS needs this to avoid warnings -ifeq ($(TARGET),amiga) +ifeq ($(findstring amigaos,$(BUILD)),amigaos) CFLAGS := -U__STRICT_ANSI__ $(CFLAGS) endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ diff --git a/Makefile.config b/Makefile.config index 254dfdf..04971d5 100644 --- a/Makefile.config +++ b/Makefile.config @@ -12,7 +12,7 @@ WITH_HUBBUB_BINDING := yes # ---------------------------------------------------------------------------- # BeOS-specific options # ---------------------------------------------------------------------------- -ifeq ($(TARGET),beos) +ifeq ($(BUILD),i586-pc-haiku) # temporary WITH_LIBXML_BINDING := no endif |