X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=9845349c520de08118b00edff032e7b50c90edb6;hb=f1a5f385e119571a565443aaff08d127991c0966;hp=9466bcd1313a237b8d6421f1dc2d2f1b3af6e9d1;hpb=fd3d01047c69b633d0dfc2f079791c3302971004;p=libsvgtiny.git diff --git a/Makefile b/Makefile index 9466bcd..9845349 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 -pedantic # BeOS/Haiku/AmigaOS standard library headers create warnings -ifneq ($(TARGET),beos) - ifneq ($(TARGET),amiga) +ifneq ($(BUILD),i586-pc-haiku) + ifneq ($(findstring amigaos,$(BUILD)),amigaos) WARNFLAGS := $(WARNFLAGS) -Werror endif endif