diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-29 21:14:35 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-29 21:15:53 +0100 |
commit | b32c8f23e541eb42674104ba305bb64283ea2f0c (patch) | |
tree | 59a0892c2823b7e2b4ac4d056a6212d3577cad2c /package/squid/squid-cross-compile.patch | |
parent | 273c2accca3bbe9ce0314a981f3e3cd0bb0e1a4c (diff) | |
download | buildroot-novena-b32c8f23e541eb42674104ba305bb64283ea2f0c.tar.gz buildroot-novena-b32c8f23e541eb42674104ba305bb64283ea2f0c.zip |
squid: needs host-libcap for cf_gen
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/squid/squid-cross-compile.patch')
-rw-r--r-- | package/squid/squid-cross-compile.patch | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package/squid/squid-cross-compile.patch b/package/squid/squid-cross-compile.patch index 6643b4d34..f2ce705f7 100644 --- a/package/squid/squid-cross-compile.patch +++ b/package/squid/squid-cross-compile.patch @@ -19,7 +19,7 @@ diff -Nura squid-3.1.8.orig/configure.in squid-3.1.8/configure.in dnl Select digest auth scheme helpers to build if test -n "$AUTH_MODULE_digest"; then -@@ -2115,6 +2115,10 @@ +@@ -2115,6 +2115,18 @@ ;; esac @@ -27,6 +27,14 @@ diff -Nura squid-3.1.8.orig/configure.in squid-3.1.8/configure.in +CXX_FOR_BUILD="$CXX_FOR_BUILD" +AC_SUBST(CXX_FOR_BUILD) + ++dnl Define CXXFLAGS_FOR_BUILD ++CXXFLAGS_FOR_BUILD="$CXXFLAGS_FOR_BUILD" ++AC_SUBST(CXXFLAGS_FOR_BUILD) ++ ++dnl Define LDFLAGS_FOR_BUILD ++LDFLAGS_FOR_BUILD="$LDFLAGS_FOR_BUILD" ++AC_SUBST(LDFLAGS_FOR_BUILD) ++ dnl Check for programs AC_PROG_CPP AC_PROG_INSTALL @@ -47,7 +55,7 @@ diff -Nura squid-3.1.8.orig/src/Makefile.am squid-3.1.8/src/Makefile.am true +cf_gen$(EXEEXT): $(cf_gen_OBJECTS) $(cf_gen_DEPENDENCIES) -+ $(CXX_FOR_BUILD) -o $@ $(srcdir)/cf_gen.cc \ ++ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $(srcdir)/cf_gen.cc \ + $(top_srcdir)/lib/util.c \ + $(top_srcdir)/compat/assert.cc \ + $(cf_gen_LDADD) $(LIBS) ${INCLUDES} |