httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1328390 - in /httpd/httpd/trunk: acinclude.m4 server/Makefile.in
Date Fri, 20 Apr 2012 14:51:22 GMT
Author: fuankg
Date: Fri Apr 20 14:51:21 2012
New Revision: 1328390

URL: http://svn.apache.org/viewvc?rev=1328390&view=rev
Log:
Next step to make cross compilation a bit easier.

Modified:
    httpd/httpd/trunk/acinclude.m4
    httpd/httpd/trunk/server/Makefile.in

Modified: httpd/httpd/trunk/acinclude.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/acinclude.m4?rev=1328390&r1=1328389&r2=1328390&view=diff
==============================================================================
--- httpd/httpd/trunk/acinclude.m4 (original)
+++ httpd/httpd/trunk/acinclude.m4 Fri Apr 20 14:51:21 2012
@@ -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)

Modified: httpd/httpd/trunk/server/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/Makefile.in?rev=1328390&r1=1328389&r2=1328390&view=diff
==============================================================================
--- httpd/httpd/trunk/server/Makefile.in (original)
+++ httpd/httpd/trunk/server/Makefile.in Fri Apr 20 14:51:21 2012
@@ -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)



Mime
View raw message