summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-03-26 18:59:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-03-26 18:59:05 +0000
commit863290c26870d1f4b56d4bc6d4ea1fb95e7798fb (patch)
tree7cfbec1091c51f444370ff100729f5bf59b8be12 /Makefile
parentfd7fd7398969404740b5c70e5fd66681d8ac5342 (diff)
downloadlibdom-863290c26870d1f4b56d4bc6d4ea1fb95e7798fb.tar.gz
libdom-863290c26870d1f4b56d4bc6d4ea1fb95e7798fb.tar.bz2
Fix build on AmigaOS
svn path=/trunk/libdom/; revision=13728
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e351d88..80c9678 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,10 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
ifneq ($(TARGET),beos)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
+# AmigaOS needs this to avoid warnings
+ifeq ($(TARGET),amiga)
+ CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
+endif
CFLAGS := -std=c99 -D_BSD_SOURCE -D_GNU_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src -I$(CURDIR)/binding $(WARNFLAGS) $(CFLAGS)