diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-27 18:12:21 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-27 18:12:21 +0000 |
commit | 6d6f290fbf3c45eec893630861ac845dfba8b433 (patch) | |
tree | 4ae3cfe0c789af21484ad0dbebf91cb060db8786 /Makefile | |
parent | 8b4292ae9523c1f1ce1c6c1702fc7ccb898cfde0 (diff) | |
download | libhubbub-6d6f290fbf3c45eec893630861ac845dfba8b433.tar.gz libhubbub-6d6f290fbf3c45eec893630861ac845dfba8b433.tar.bz2 |
Don't treat warnings as errors on AmigaOS
svn path=/trunk/hubbub/; revision=13085
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,9 +13,11 @@ TESTRUNNER := $(PERL) build/testtools/testrunner.pl WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -pedantic -# BeOS/Haiku have standard library errors that issue warnings. +# BeOS/Haiku/AmigaOS have standard library errors that issue warnings. ifneq ($(TARGET),beos) - WARNFLAGS := $(WARNFLAGS) -Werror + ifneq ($(TARGET),amiga) + WARNFLAGS := $(WARNFLAGS) -Werror + endif endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) |