summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:31:59 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:31:59 +0000
commit82fcf234d087486e385ef644c80a5d247896d5bc (patch)
treeeb75ae61e853468db53b8f8ee4f262162bc5bc9d /Makefile
parent8e74b81769688c1df42f170a232c5f9851668d70 (diff)
downloadlibhubbub-82fcf234d087486e385ef644c80a5d247896d5bc.tar.gz
libhubbub-82fcf234d087486e385ef644c80a5d247896d5bc.tar.bz2
Fix up for new buildsystem. Remove unused compat hacks.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4ec03f3..eb459a1 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 have standard library errors that issue warnings.
-ifneq ($(TARGET),beos)
- ifneq ($(TARGET),amiga)
+ifneq ($(BUILD),i586-pc-haiku)
+ ifneq ($(findstring amigaos,$(BUILD)),amigaos)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
endif