src.opts.mk (291999) | src.opts.mk (292124) |
---|---|
1# $FreeBSD: head/share/mk/src.opts.mk 291999 2015-12-08 19:19:26Z emaste $ | 1# $FreeBSD: head/share/mk/src.opts.mk 292124 2015-12-11 22:55:23Z br $ |
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# 9# Makefiles must include bsd.opts.mk after defining specific MK_FOO options that --- 214 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. | 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# 9# Makefiles must include bsd.opts.mk after defining specific MK_FOO options that --- 214 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 --- |