summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:48:32 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:48:32 (GMT)
commiteffc8a11c136d1064bceac87390af0accdfa6425 (patch)
treebe707659fc6c235227fda1482712a34717f5adb3
parentbb8c0f1b0eed9443db1037382782d9ab90e1218b (diff)
downloadlibpencil-effc8a11c136d1064bceac87390af0accdfa6425.tar.gz
libpencil-effc8a11c136d1064bceac87390af0accdfa6425.tar.bz2
Fix up for new buildsystem
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d006c93..81dd4c0 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/AmigaOS4 standard library headers create warnings
-ifneq ($(TARGET),beos)
- ifneq ($(TARGET),AmigaOS)
+ifneq ($(BUILD),i586-pc-haiku)
+ ifneq ($(findstring amigaos,$(BUILD)),amigaos)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
endif
@@ -31,7 +31,7 @@ endif
# OSLib
ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
- ifeq ($(TARGET),riscos)
+ ifeq ($(BUILD),arm-unknown-riscos)
CFLAGS := $(CFLAGS) -I$(PREFIX)/include
LDFLAGS := $(LDFLAGS) -lOSLib32
endif