summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-28 17:04:54 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-28 17:04:54 +0000
commit035aa3397d290e4e475ede4c7faa1f40f52e454e (patch)
treed38fdd5df8596ee2ac6bb90bcb00bb5578348f44 /Makefile
parentea9d99fc8b231c22d06168135e181d61f4eb2f06 (diff)
downloadlibsvgtiny-035aa3397d290e4e475ede4c7faa1f40f52e454e.tar.gz
libsvgtiny-035aa3397d290e4e475ede4c7faa1f40f52e454e.tar.bz2
Don't treat warnings as errors on AmigaOS
svn path=/trunk/libsvgtiny/; revision=12908
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee95e20..4556eec 100644
--- a/Makefile
+++ b/Makefile
@@ -13,12 +13,13 @@ TESTRUNNER := $(ECHO)
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
-# BeOS/Haiku/AmigaOS4 standard library headers create warnings
+# BeOS/Haiku/AmigaOS standard library headers create warnings
ifneq ($(TARGET),beos)
ifneq ($(TARGET),AmigaOS)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
endif
+
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifneq ($(GCCVER),2)