summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2012-04-20 16:51:21 +0200
committerGuenter Knauf <fuankg@apache.org>2012-04-20 16:51:21 +0200
commit46b607a2a4b2e31c219f0f2e137c7d907bfff3fe (patch)
tree4ed855adbf7472d824fb4759bbddd1791cbf6530
parentRebuild transformations. Will move the EBCDIC files to the developer (diff)
downloadapache2-46b607a2a4b2e31c219f0f2e137c7d907bfff3fe.tar.xz
apache2-46b607a2a4b2e31c219f0f2e137c7d907bfff3fe.zip
Next step to make cross compilation a bit easier.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1328390 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--acinclude.m42
-rw-r--r--server/Makefile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 130f8cfee8..6c366e9614 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -53,6 +53,8 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
APACHE_SUBST(CPPFLAGS)
APACHE_SUBST(CFLAGS)
APACHE_SUBST(CXXFLAGS)
+ APACHE_SUBST(CC_FOR_BUILD)
+ APACHE_SUBST(CFLAGS_FOR_BUILD)
APACHE_SUBST(LTFLAGS)
APACHE_SUBST(LDFLAGS)
APACHE_SUBST(LT_LDFLAGS)
diff --git a/server/Makefile.in b/server/Makefile.in
index 69761c295a..813b411c10 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -29,7 +29,7 @@ include $(top_srcdir)/build/library.mk
ifdef CC_FOR_BUILD
gen_test_char: gen_test_char.c
- $(CC_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
else
gen_test_char_OBJECTS = gen_test_char.lo
gen_test_char: $(gen_test_char_OBJECTS)