src.opts.mk (1cee64a8c7daf06635c7802afaa1fc7957fdbb61) src.opts.mk (1fdcc5e5c0dfd70bdd34c02e9e24b8496706fd95)
1# $FreeBSD$
2#
3# Option file for FreeBSD /usr/src builds.
4#
5# Users define WITH_FOO and WITHOUT_FOO on the command line or in /etc/src.conf
6# and /etc/make.conf files. These translate in the build system to MK_FOO={yes,no}
7# with sensible (usually) defaults.
8#

--- 215 unchanged lines hidden (view full) ---

224__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX
225__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC
226.else
227# Everything else disables Clang, and uses GCC instead.
228__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
229__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC
230.endif
231# In-tree binutils/gcc are older versions without modern architecture support.
1# $FreeBSD$
2#
3# Option file for FreeBSD /usr/src builds.
4#
5# Users define WITH_FOO and WITHOUT_FOO on the command line or in /etc/src.conf
6# and /etc/make.conf files. These translate in the build system to MK_FOO={yes,no}
7# with sensible (usually) defaults.
8#

--- 215 unchanged lines hidden (view full) ---

224__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX
225__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC
226.else
227# Everything else disables Clang, and uses GCC instead.
228__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
229__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC
230.endif
231# In-tree binutils/gcc are older versions without modern architecture support.
232.if ${__T} == "aarch64"
232.if ${__T} == "aarch64" || ${__T} == "riscv64"
233BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
234__DEFAULT_YES_OPTIONS+=ELFCOPY_AS_OBJCOPY
235.else
236__DEFAULT_NO_OPTIONS+=ELFCOPY_AS_OBJCOPY
237.endif
233BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
234__DEFAULT_YES_OPTIONS+=ELFCOPY_AS_OBJCOPY
235.else
236__DEFAULT_NO_OPTIONS+=ELFCOPY_AS_OBJCOPY
237.endif
238.if ${__T} == "riscv64"
239BROKEN_OPTIONS+=PROFILE # "sorry, unimplemented: profiler support for RISC-V"
240BROKEN_OPTIONS+=TESTS # "undefined reference to `_Unwind_Resume'"
241BROKEN_OPTIONS+=CXX # "libcxxrt.so: undefined reference to `_Unwind_Resume_or_Rethrow'"
242.endif
238# LLVM lacks support for FreeBSD 64-bit atomic operations for ARMv4/ARMv5
239.if ${__T} == "arm" || ${__T} == "armeb"
240BROKEN_OPTIONS+=LLDB
241.endif
242
243.include <bsd.mkopt.mk>
244
245#

--- 158 unchanged lines hidden ---
243# LLVM lacks support for FreeBSD 64-bit atomic operations for ARMv4/ARMv5
244.if ${__T} == "arm" || ${__T} == "armeb"
245BROKEN_OPTIONS+=LLDB
246.endif
247
248.include <bsd.mkopt.mk>
249
250#

--- 158 unchanged lines hidden ---