summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:54:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:54:03 +0000
commitb0c71d0b1f2f3c3406f55da7605b98cb2ca1fb58 (patch)
treef3d85b104f61f76018d57f82a824d9d343c5756e
parent90bab1fefd7d631f63ea0e60b5ad496ff7c100d0 (diff)
downloadiconv-b0c71d0b1f2f3c3406f55da7605b98cb2ca1fb58.tar.gz
iconv-b0c71d0b1f2f3c3406f55da7605b98cb2ca1fb58.tar.bz2
Ensure local include path overrides buildsystem settings.
svn path=/trunk/iconv/; revision=8961
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5773f07..438c9f6 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ endif
WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -Werror -pedantic
-CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
- -I$(CURDIR)/src $(WARNFLAGS)
+CFLAGS := -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifeq ($(TARGET),riscos)
LDFLAGS := $(LDFLAGS) -L$(CURDIR)/unicode/libro -lunicode