Lines 243-263
Link Here
|
243 |
__DEFAULT_DEPENDENT_OPTIONS+= ${var}_SUPPORT/${var} |
243 |
__DEFAULT_DEPENDENT_OPTIONS+= ${var}_SUPPORT/${var} |
244 |
.endfor |
244 |
.endfor |
245 |
|
245 |
|
246 |
# |
|
|
247 |
# Default behaviour of some options depends on the architecture. Unfortunately |
248 |
# this means that we have to test TARGET_ARCH (the buildworld case) as well |
249 |
# as MACHINE_ARCH (the non-buildworld case). Normally TARGET_ARCH is not |
250 |
# used at all in bsd.*.mk, but we have to make an exception here if we want |
251 |
# to allow defaults for some things like clang to vary by target architecture. |
252 |
# Additional, per-target behavior should be rarely added only after much |
253 |
# gnashing of teeth and grinding of gears. |
254 |
# |
255 |
.if defined(TARGET_ARCH) |
256 |
__T=${TARGET_ARCH} |
257 |
.else |
258 |
__T=${MACHINE_ARCH} |
259 |
.endif |
260 |
|
261 |
# All supported backends for LLVM_TARGET_XXX |
246 |
# All supported backends for LLVM_TARGET_XXX |
262 |
__LLVM_TARGETS= \ |
247 |
__LLVM_TARGETS= \ |
263 |
aarch64 \ |
248 |
aarch64 \ |