summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:32:32 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:32:32 (GMT)
commit233fd90a6ce5e8fe30ba518bbe12b2b33849d8b1 (patch)
tree05a0e71cb178c98dac3d1084e706120f8db209bc
parente16c2f086e2fc2f08124c485c9edb6869a090e4b (diff)
downloadlibnsbmp-233fd90a6ce5e8fe30ba518bbe12b2b33849d8b1.tar.gz
libnsbmp-233fd90a6ce5e8fe30ba518bbe12b2b33849d8b1.tar.bz2
Fix up for new buildsystem
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aad7a6e..fd8b426 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
# BeOS/Haiku standard library headers create warnings
-ifneq ($(TARGET),beos)
+ifneq ($(BUILD),i586-pc-haiku)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \