Lines 30-37
src_configure() {
Link Here
|
30 |
|
30 |
|
31 |
src_compile() { |
31 |
src_compile() { |
32 |
if tc-is-cross-compiler; then |
32 |
if tc-is-cross-compiler; then |
33 |
pushd tools > /dev/null |
33 |
pushd "${AUTOTOOLS_BUILD_DIR}"/tools > /dev/null |
34 |
$(tc-getBUILD_CC) -o make_hash make_hash.c || die "native make_hash failed" |
34 |
$(tc-getBUILD_CC) -o native_make_hash \ |
|
|
35 |
"${S}"/tools/make_hash.c || die "native make_hash failed" |
36 |
sed -e "s#./make_hash#./native_make_hash#" -i Makefile |
35 |
popd > /dev/null |
37 |
popd > /dev/null |
36 |
fi |
38 |
fi |
37 |
autotools-utils_src_compile |
39 |
autotools-utils_src_compile |