summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:33:50 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:33:50 (GMT)
commitf1a5f385e119571a565443aaff08d127991c0966 (patch)
tree494907fedff27f9f36b37e2b27beb082c90bff6b
parentfd3d01047c69b633d0dfc2f079791c3302971004 (diff)
downloadlibsvgtiny-f1a5f385e119571a565443aaff08d127991c0966.tar.gz
libsvgtiny-f1a5f385e119571a565443aaff08d127991c0966.tar.bz2
Fix up for new buildsystem
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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