diff options
author | bRad <brad@humanenginuity.com> | 2017-05-10 04:48:59 -0700 |
---|---|---|
committer | bRad <brad@humanenginuity.com> | 2017-05-10 04:48:59 -0700 |
commit | 079bdf1c91d5e83c179103caca33625bc5540cd8 (patch) | |
tree | c25289f64dcaa838bd20f8a31c3720af20211df4 /scripts | |
parent | 347a1938a8079f616fda1915c9940d61c86beb10 (diff) | |
download | crosstool-ng-079bdf1c91d5e83c179103caca33625bc5540cd8.tar.gz crosstool-ng-079bdf1c91d5e83c179103caca33625bc5540cd8.tar.bz2 crosstool-ng-079bdf1c91d5e83c179103caca33625bc5540cd8.zip |
Added CT_TestAndAbort trivial sanity checks for CC and CXX to avoid libiconnv build failures https://github.com/crosstool-ng/crosstool-ng/issues/711
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 68d68477..6313f320 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -60,6 +60,9 @@ CT_TestAndAbort "Don't set CPLUS_INCLUDE_PATH. It screws up the build." -n "${CP CT_TestAndAbort "Don't set OBJC_INCLUDE_PATH. It screws up the build." -n "${OBJC_INCLUDE_PATH}" CT_TestAndAbort "Don't set CFLAGS. It screws up the build." -n "${CFLAGS}" CT_TestAndAbort "Don't set CXXFLAGS. It screws up the build." -n "${CXXFLAGS}" +CT_TestAndAbort "Don't set CC. Support is planned, but currently it screws up the build. Ensure the GCC you +want to use is the first 'gcc' instance in your \${PATH} environment variable." -n "${CC}" +CT_TestAndAbort "Don't set CXX. It screws up the build." -n "${CXX}" CT_Test "GREP_OPTIONS screws up the build. Resetting." -n "${GREP_OPTIONS}" export GREP_OPTIONS= # Workaround against openSUSE 12.1 that breaks ./configure for cross-compilation: |