mirror of https://gitee.com/openkylin/apr.git
compile gen_test_char with the build architecture compiler
Gbp-Pq: Name cross.patch
This commit is contained in:
parent
6d00dacec9
commit
d770ab0143
10
Makefile.in
10
Makefile.in
|
@ -8,6 +8,7 @@ top_blddir=@apr_builddir@
|
||||||
# APR (Apache Portable Runtime) library Makefile.
|
# APR (Apache Portable Runtime) library Makefile.
|
||||||
#
|
#
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
|
CC_FOR_BUILD ?= cc
|
||||||
|
|
||||||
# get substituted into some targets
|
# get substituted into some targets
|
||||||
APR_MAJOR_VERSION=@APR_MAJOR_VERSION@
|
APR_MAJOR_VERSION=@APR_MAJOR_VERSION@
|
||||||
|
@ -46,7 +47,6 @@ LT_VERSION = @LT_VERSION@
|
||||||
|
|
||||||
CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
|
CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
|
||||||
build/apr_rules.out tools/gen_test_char@EXEEXT@ \
|
build/apr_rules.out tools/gen_test_char@EXEEXT@ \
|
||||||
tools/gen_test_char.o tools/gen_test_char.lo \
|
|
||||||
include/private/apr_escape_test_char.h
|
include/private/apr_escape_test_char.h
|
||||||
DISTCLEAN_TARGETS = config.cache config.log config.status \
|
DISTCLEAN_TARGETS = config.cache config.log config.status \
|
||||||
include/apr.h include/arch/unix/apr_private.h \
|
include/apr.h include/arch/unix/apr_private.h \
|
||||||
|
@ -140,13 +140,9 @@ check: $(TARGET_LIB)
|
||||||
etags:
|
etags:
|
||||||
etags `find . -name '*.[ch]'`
|
etags `find . -name '*.[ch]'`
|
||||||
|
|
||||||
OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
|
tools/gen_test_char@EXEEXT@: tools/gen_test_char.c
|
||||||
tools/gen_test_char.lo: tools/gen_test_char.c
|
|
||||||
$(APR_MKDIR) tools
|
$(APR_MKDIR) tools
|
||||||
$(LT_COMPILE)
|
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ $<
|
||||||
|
|
||||||
tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
|
|
||||||
$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
|
|
||||||
|
|
||||||
include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
|
include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
|
||||||
$(APR_MKDIR) include/private
|
$(APR_MKDIR) include/private
|
||||||
|
|
Loading…
Reference in New Issue