httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1327907 - /httpd/httpd/trunk/server/Makefile.in
Date Thu, 19 Apr 2012 11:54:00 GMT
Author: fuankg
Date: Thu Apr 19 11:53:59 2012
New Revision: 1327907

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

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

Modified: httpd/httpd/trunk/server/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/Makefile.in?rev=1327907&r1=1327906&r2=1327907&view=diff
==============================================================================
--- httpd/httpd/trunk/server/Makefile.in (original)
+++ httpd/httpd/trunk/server/Makefile.in Thu Apr 19 11:53:59 2012
@@ -27,9 +27,14 @@ TARGETS = delete-exports $(LTLIBRARY_NAM
 include $(top_builddir)/build/rules.mk
 include $(top_srcdir)/build/library.mk
 
+ifdef CC_FOR_BUILD
+gen_test_char: gen_test_char.c
+	$(CC_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
+else
 gen_test_char_OBJECTS = gen_test_char.lo
 gen_test_char: $(gen_test_char_OBJECTS)
 	$(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
+endif
 
 test_char.h: gen_test_char
 	./gen_test_char > test_char.h



Mime
View raw message