]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - Makefile
Fix up for new buildsystem
[libsvgtiny.git] / Makefile
index 9466bcd1313a237b8d6421f1dc2d2f1b3af6e9d1..9845349c520de08118b00edff032e7b50c90edb6 100644 (file)
--- 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