Skip to content

Commit

Permalink
Added CT_TestAndAbort trivial sanity checks for CC and CXX to avoid l…
Browse files Browse the repository at this point in the history
…ibiconnv build failures #711
  • Loading branch information
bRad committed May 10, 2017
1 parent 347a193 commit 079bdf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/crosstool-NG.sh.in
Expand Up @@ -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:
Expand Down

0 comments on commit 079bdf1

Please sign in to comment.