Upgrade pcre to 7.0 (#1119)
[openwrt/svn-archive/archive.git] / libs / pcre / patches / 100-honor_cppflags_ldflags.patch
1 diff -urN pcre-7.0/Makefile.in pcre-7.0.new/Makefile.in
2 --- pcre-7.0/Makefile.in 2006-12-19 10:31:35.000000000 +0100
3 +++ pcre-7.0.new/Makefile.in 2007-01-01 21:43:22.000000000 +0100
4 @@ -102,7 +102,7 @@
5 # to do one or the other or both by ./configure.
6
7 LIBTOOL = @LIBTOOL@
8 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
9 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(CPPFLAGS) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
10 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
11 @ON_WINDOWS@LINK = $(CC) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
12 @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -I. -I$(top_srcdir)