aboutsummaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-06 22:30:57 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-06 22:30:57 +0200
commit5e27ad1e5aabdbc0633c380c4ab2959b34a55134 (patch)
tree9da9e865e952682520d5d227d615755baf75595d /scripts/functions
parent177a2b029c545624f09e7e704bb5a6ec7db086b6 (diff)
downloadcrosstool-ng-5e27ad1e5aabdbc0633c380c4ab2959b34a55134.tar.gz
crosstool-ng-5e27ad1e5aabdbc0633c380c4ab2959b34a55134.tar.bz2
crosstool-ng-5e27ad1e5aabdbc0633c380c4ab2959b34a55134.zip
complibs: disable building shared libs
Managing the shared version of the companion libraries has become cumbersome. Also, it will one day be possible to use the companion libraries from the host distribution, and then we will be able to easily use either shared or static libs. As a side note, while working on the canadian-rework series, it has become quite more complex to properly handle shared companion libraries, as they need to be built both for the build and gost systems. That's not easy to handle. At all. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/functions b/scripts/functions
index 2bf57678..9f6d0f4b 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1030,9 +1030,6 @@ CT_DoSaveState() {
/^(UID|EUID)=/d;
/^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh"
- if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then
- CT_DoTarballIfExists "${CT_COMPLIBS_DIR}" "${state_dir}/complibs_dir"
- fi
CT_DoTarballIfExists "${CT_BUILDTOOLS_PREFIX_DIR}" "${state_dir}/buildtools_dir"
CT_DoTarballIfExists "${CT_CONFIG_DIR}" "${state_dir}/config_dir"
CT_DoTarballIfExists "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${state_dir}/cc_core_static_prefix_dir"
@@ -1071,9 +1068,6 @@ CT_DoLoadState(){
CT_DoExtractTarballIfExists "${state_dir}/cc_core_static_prefix_dir" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}"
CT_DoExtractTarballIfExists "${state_dir}/buildtools_dir" "${CT_BUILDTOOLS_PREFIX_DIR}"
- if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then
- CT_DoExtractTarballIfExists "${state_dir}/complibs_dir" "${CT_COMPLIBS_DIR}"
- fi
# Restore the environment, discarding any error message
# (for example, read-only bash internals)