diff options
author | Alexey Neyman <stilor@att.net> | 2017-05-10 21:28:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 21:28:24 -0700 |
commit | 968b6918a2e00134077a2603f33451cfa617f44d (patch) | |
tree | d03190457a2f890003a64c4731e84a9aa16eac5d | |
parent | 129e6d3fd13fa158a95685f9fae683ef89f9462a (diff) | |
parent | 8543414be6a9d38bdd451730ed3cc32bf39e5a21 (diff) | |
download | crosstool-ng-968b6918a2e00134077a2603f33451cfa617f44d.tar.gz crosstool-ng-968b6918a2e00134077a2603f33451cfa617f44d.tar.bz2 crosstool-ng-968b6918a2e00134077a2603f33451cfa617f44d.zip |
Merge pull request #713 from U-007D/check-for-cc-and-cxx
Added CT_TestAndAbort trivial sanity checks for CC and CXX to avoid l…
-rw-r--r-- | scripts/crosstool-NG.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 68d68477..1464f0fd 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -60,6 +60,8 @@ 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. It screws up the build." -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: |