Lines 217-231
__TT=${MACHINE}
Link Here
|
217 |
${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") |
217 |
${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") |
218 |
# Clang is enabled, and will be installed as the default /usr/bin/cc. |
218 |
# Clang is enabled, and will be installed as the default /usr/bin/cc. |
219 |
__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC |
219 |
__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC |
220 |
__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX |
220 |
__DEFAULT_NO_OPTIONS+=AS GCC GCC_BOOTSTRAP GNUCXX |
221 |
.elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mpowerpc*} |
221 |
.elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mpowerpc*} |
222 |
# On powerpc, if an external compiler that supports C++11 is used as ${CC}, |
222 |
# On powerpc, if an external compiler that supports C++11 is used as ${CC}, |
223 |
# then Clang is enabled, but GCC is installed as the default /usr/bin/cc. |
223 |
# then Clang is enabled, but GCC is installed as the default /usr/bin/cc. |
224 |
__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX |
224 |
__DEFAULT_YES_OPTIONS+=AS CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX |
225 |
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC |
225 |
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC |
226 |
.else |
226 |
.else |
227 |
# Everything else disables Clang, and uses GCC instead. |
227 |
# Everything else disables Clang, and uses GCC instead. |
228 |
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX |
228 |
__DEFAULT_YES_OPTIONS+=AS GCC GCC_BOOTSTRAP GNUCXX |
229 |
__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC |
229 |
__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC |
230 |
.endif |
230 |
.endif |
231 |
# In-tree binutils/gcc are older versions without modern architecture support. |
231 |
# In-tree binutils/gcc are older versions without modern architecture support. |