View | Details | Raw Unified | Return to bug 51257
Collapse All | Expand All

(-)docs/manual/programs/configure.xml (+4 lines)
Lines 695-700 Link Here
695
    <dt><code>LDFLAGS</code></dt>
695
    <dt><code>LDFLAGS</code></dt>
696
    <dd>Set linker flags, e.g. <code>-L<var>libdir</var></code> if you have
696
    <dd>Set linker flags, e.g. <code>-L<var>libdir</var></code> if you have
697
      libraries in a nonstandard directory <var>libdir</var>.</dd>
697
      libraries in a nonstandard directory <var>libdir</var>.</dd>
698
699
    <dt><code>BUILDCC</code></dt>
700
    <dd>Define the C compiler command to be used for compilation of programs
701
      that run on BUILD during cross-compiling, e.g. gen_test_char.</dd>
698
  </dl>
702
  </dl>
699
</section>
703
</section>
700
</manualpage>
704
</manualpage>
(-)docs/manual/programs/configure.html.en (-1 / +5 lines)
Lines 676-681 Link Here
676
    <dt><code>LDFLAGS</code></dt>
676
    <dt><code>LDFLAGS</code></dt>
677
    <dd>Set linker flags, e.g. <code>-L<var>libdir</var></code> if you have
677
    <dd>Set linker flags, e.g. <code>-L<var>libdir</var></code> if you have
678
      libraries in a nonstandard directory <var>libdir</var>.</dd>
678
      libraries in a nonstandard directory <var>libdir</var>.</dd>
679
680
    <dt><code>BUILDCC</code></dt>
681
    <dd>Define the C compiler command to be used for compilation of programs
682
      that run on BUILD during cross-compiling, e.g. gen_test_char.</dd>
679
  </dl>
683
  </dl>
680
</div></div>
684
</div></div>
681
<div class="bottomlang">
685
<div class="bottomlang">
Lines 685-688 Link Here
685
</div><div id="footer">
689
</div><div id="footer">
686
<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
690
<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
687
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
691
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
688
</body></html>
692
</body></html>
(-)server/Makefile.in (-1 / +5 lines)
Lines 24-30 Link Here
24
24
25
gen_test_char_OBJECTS = gen_test_char.lo
25
gen_test_char_OBJECTS = gen_test_char.lo
26
gen_test_char: $(gen_test_char_OBJECTS)
26
gen_test_char: $(gen_test_char_OBJECTS)
27
	$(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
27
	@if test "x$(BUILDCC)" != "x"; then \
28
	    $(BUILDCC) -DCROSS_COMPILE -o $@ gen_test_char.c; \
29
	else \
30
	    $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS); \
31
	fi
28
32
29
test_char.h: gen_test_char
33
test_char.h: gen_test_char
30
	./gen_test_char > test_char.h
34
	./gen_test_char > test_char.h
(-)acinclude.m4 (+1 lines)
Lines 47-52 Link Here
47
  APACHE_SUBST(progname)
47
  APACHE_SUBST(progname)
48
  APACHE_SUBST(prefix)
48
  APACHE_SUBST(prefix)
49
  APACHE_SUBST(AWK)
49
  APACHE_SUBST(AWK)
50
  APACHE_SUBST(BUILDCC)
50
  APACHE_SUBST(CC)
51
  APACHE_SUBST(CC)
51
  APACHE_SUBST(CPP)
52
  APACHE_SUBST(CPP)
52
  APACHE_SUBST(CXX)
53
  APACHE_SUBST(CXX)

Return to bug 51257