diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-24 17:49:24 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-24 17:49:24 +0000 |
commit | 814e303c3c1245cbea9c1d2e8c7601e7306442cd (patch) | |
tree | 750b596a5bd8d7e8fa02d5a2c18712d171e86909 | |
parent | ed8b7c0babc448ce76f4a7fd739404ccc7af1188 (diff) | |
download | crosstool-ng-814e303c3c1245cbea9c1d2e8c7601e7306442cd.tar.gz crosstool-ng-814e303c3c1245cbea9c1d2e8c7601e7306442cd.tar.bz2 crosstool-ng-814e303c3c1245cbea9c1d2e8c7601e7306442cd.zip |
We need to build libiberty before gcc only in the canadian case, not the opposite.
-rw-r--r-- | scripts/build/cc_core_gcc.sh | 2 | ||||
-rw-r--r-- | scripts/build/cc_gcc.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc_core_gcc.sh b/scripts/build/cc_core_gcc.sh index 3547256d..af6b744c 100644 --- a/scripts/build/cc_core_gcc.sh +++ b/scripts/build/cc_core_gcc.sh @@ -64,7 +64,7 @@ do_cc_core() { --disable-shared \ ${CT_CC_CORE_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL - if [ ! "${CT_CANADIAN}" = "y" ]; then + if [ "${CT_CANADIAN}" = "y" ]; then CT_DoLog EXTRA "Building libiberty" make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog ALL fi diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh index 54ebddf8..82dd2a31 100644 --- a/scripts/build/cc_gcc.sh +++ b/scripts/build/cc_gcc.sh @@ -82,7 +82,7 @@ do_cc() { --enable-long-long \ ${CT_CC_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL - if [ ! "${CT_CANADIAN}" = "y" ]; then + if [ "${CT_CANADIAN}" = "y" ]; then CT_DoLog EXTRA "Building libiberty" make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog ALL fi |