]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Fix up for new buildsystem
authorJohn-Mark Bell <jmb@netsurf-browser.org>
Sun, 16 Nov 2014 10:33:50 +0000 (10:33 +0000)
committerJohn-Mark Bell <jmb@netsurf-browser.org>
Sun, 16 Nov 2014 10:33:50 +0000 (10:33 +0000)
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