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.
|
||||
#
|
||||
CPP = @CPP@
|
||||
CC_FOR_BUILD ?= cc
|
||||
|
||||
# get substituted into some targets
|
||||
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 \
|
||||
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
|
||||
DISTCLEAN_TARGETS = config.cache config.log config.status \
|
||||
include/apr.h include/arch/unix/apr_private.h \
|
||||
|
@ -140,13 +140,9 @@ check: $(TARGET_LIB)
|
|||
etags:
|
||||
etags `find . -name '*.[ch]'`
|
||||
|
||||
OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
|
||||
tools/gen_test_char.lo: tools/gen_test_char.c
|
||||
tools/gen_test_char@EXEEXT@: tools/gen_test_char.c
|
||||
$(APR_MKDIR) tools
|
||||
$(LT_COMPILE)
|
||||
|
||||
tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
|
||||
$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
|
||||
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ $<
|
||||
|
||||
include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
|
||||
$(APR_MKDIR) include/private
|
||||
|
|
Loading…
Reference in New Issue