mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Do not copy ecj.jar when it's not required.
/trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
This commit is contained in:
parent
6d392339c6
commit
24003e416f
@ -28,7 +28,9 @@ do_cc_extract() {
|
||||
CT_Extract "gcc-${CT_CC_VERSION}"
|
||||
CT_Patch "gcc-${CT_CC_VERSION}"
|
||||
# Copy ecj-latest.jar to ecj.jar at the top of the GCC source tree
|
||||
if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" ]; then
|
||||
if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" \
|
||||
-a ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar" \
|
||||
]; then
|
||||
CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/ecj-latest.jar" "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar"
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user