https://issues.apache.org/bugzilla/show_bug.cgi?id=51257

--- Comment #4 from Guenter Knauf <[email protected]> 2012-04-19 12:03:01 UTC ---
Hi Henrik,
(In reply to comment #3)
> Created attachment 28633 [details]
> Same patch as previous file but for httpd_trunk.
I've just commited a slightly modified patch to trunk:
http://svn.apache.org/viewvc?rev=1327907&view=rev
this should work same way as with your patch provided that you export
CC_FOR_BUILD=gcc. I hope that we can finally figure out how we can configure
teach to set CC_FOR_BUILD automatically in case of detecting cross-compilation
so that the export is then not needed. The CC_FOR_BUILD should appear in
build/config_vars.mk because then server/Makefile can access it.
For 2.2.x you will then need in addition:
--- srclib/pcre/Makefile.in.orig        2005-02-11 13:00:41.000000000 +0100
+++ srclib/pcre/Makefile.in     2012-04-19 13:29:06.000000000 +0200
@@ -11,8 +11,13 @@

 $(LTLIBRARY_OBJECTS) dftables.lo: config.h

+ifdef CC_FOR_BUILD
+dftables: dftables.c
+       $(CC_FOR_BUILD) -o $@ $<
+else
 dftables: dftables.lo
        $(LINK) $(EXTRA_LDFLAGS) dftables.lo $(EXTRA_LIBS)
+endif

 $(srcdir)/chartables.c: dftables
        ./dftables $@

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to