summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:50:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:50:14 +0000
commit7afd1de3f8358dfd0e533ca585313bd87464fe45 (patch)
tree5e8d13ded8446d9270818f485918026fdbe2dbc0
parentedfdfee20a06e0e5e0029042bc67575e82f42ea9 (diff)
downloadlibcss-7afd1de3f8358dfd0e533ca585313bd87464fe45.tar.gz
libcss-7afd1de3f8358dfd0e533ca585313bd87464fe45.tar.bz2
Ensure our local include path overrides the buildsystem settings.
This avoids build failures when our local headers have changed but the buildsystem settings point to an include path that includes headers from a previous version. svn path=/trunk/libcss/; revision=8958
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 908f339..c9b1342 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,8 @@ WARNFLAGS := -Wall -Wundef -Wpointer-arith -Wcast-align \
ifneq ($(GCCVER),2)
WARNFLAGS := $(WARNFLAGS) -Wextra
endif
-CFLAGS := $(CFLAGS) -D_BSD_SOURCE -I$(CURDIR)/include/ \
- -I$(CURDIR)/src $(WARNFLAGS)
+CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifneq ($(GCCVER),2)
CFLAGS := $(CFLAGS) -std=c99
else