View | Details | Raw Unified | Return to bug 214864 | Differences between
and this patch

Collapse All | Expand All

(-)src.opts.mk (working copy) (-6 / +4 lines)
Lines 120-125 Link Here
120
    LIB32 \
120
    LIB32 \
121
    LIBPTHREAD \
121
    LIBPTHREAD \
122
    LIBTHR \
122
    LIBTHR \
123
    LLD \
124
    LLD_IS_LD \
123
    LOCALES \
125
    LOCALES \
124
    LOCATE \
126
    LOCATE \
125
    LPR \
127
    LPR \
128
__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC
126
__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
129
__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
127
.elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mriscv*} == "" && ${__T} != "sparc64"
130
.elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mriscv*} == "" && ${__T} != "sparc64"
128
# If an external compiler that supports C++11 is used as ${CC} and Clang
131
# If an external compiler that supports C++11 is used as ${CC} and Clang
Lines 228-234 Link Here
228
# supports the target, then Clang is enabled but GCC is installed as the
230
# supports the target, then Clang is enabled but GCC is installed as the
229
# default /usr/bin/cc.
231
# default /usr/bin/cc.
230
__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX
232
__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX
231
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC GPL_DTC LLD
233
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC GPL_DTC
232
.else
234
.else
233
# Everything else disables Clang, and uses GCC instead.
235
# Everything else disables Clang, and uses GCC instead.
234
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
236
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
Lines 249-259 Link Here
249
.else
251
.else
250
__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
252
__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
251
.endif
253
.endif
252
.if ${__T} == "aarch64"
253
__DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
254
.else
255
__DEFAULT_NO_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
256
.endif
257
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386"
254
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386"
258
__DEFAULT_YES_OPTIONS+=LLDB
255
__DEFAULT_YES_OPTIONS+=LLDB
259
.else
256
.else

Return to bug 214864