summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:30:58 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:30:58 +0000
commit48ae40f07dcba76bdcbcc965717ed5fdfbf8ccb3 (patch)
tree25c3bfaae056524df25427b9dfffa8beec242f13
parent034f23e8305835dcda7503b0cd281c66fed7442d (diff)
downloadlibcss-48ae40f07dcba76bdcbcc965717ed5fdfbf8ccb3.tar.gz
libcss-48ae40f07dcba76bdcbcc965717ed5fdfbf8ccb3.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 353b662..dffe582 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
# BeOS/Haiku/AmigaOS4 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