Remove odd WARNFLAGS copied from Atari stuff. Silence warning about redeclared strcasestr().

svn path=/trunk/netsurf/; revision=11381
This commit is contained in:
François Revel 2011-01-19 01:42:54 +00:00
parent 6d1169e92d
commit 3060423700
2 changed files with 1 additions and 6 deletions

View File

@ -377,11 +377,6 @@ ifeq ($(TARGET),cocoa)
# Optimisation levels
CFLAGS += -O2 -Wuninitialized
WARNFLAGS = -W -Wundef -Wpointer-arith \
-Wcast-align -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
-Wnested-externs -Wl,-t
endif
# Include any local configuration

View File

@ -31,7 +31,7 @@
char *strndup(const char *s, size_t n);
#endif
#if (defined(_GNU_SOURCE))
#if (defined(_GNU_SOURCE) || defined(__APPLE__))
#define HAVE_STRCASESTR
#else
#undef HAVE_STRCASESTR