]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
AmigaOS4 standard library headers also create warnings
authorChris Young <chris@unsatisfactorysoftware.co.uk>
Sun, 22 Nov 2009 15:55:17 +0000 (15:55 -0000)
committerChris Young <chris@unsatisfactorysoftware.co.uk>
Sun, 22 Nov 2009 15:55:17 +0000 (15:55 -0000)
svn path=/trunk/libsvgtiny/; revision=9700

Makefile

index 4bbcb12bf8a3555ab659dbb0333772111557db46..94153e4c549e6d2a484431a61dae8319c6cb0167 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,11 @@ TESTRUNNER := $(ECHO)
 WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
        -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations -Wnested-externs -pedantic
-# BeOS/Haiku standard library headers create warnings
+# BeOS/Haiku/AmigaOS4 standard library headers create warnings
 ifneq ($(TARGET),beos)
-  WARNFLAGS := $(WARNFLAGS) -Werror
+  ifneq ($(TARGET),AmigaOS)
+    WARNFLAGS := $(WARNFLAGS) -Werror
+  endif
 endif
 CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
        -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)