diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2020-01-19 19:16:32 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2020-01-19 19:16:32 +0000 |
| commit | 7793be975280a69f1c0bfb5fee3c6ec0da356a7f (patch) | |
| tree | 60beb33c044803d5203bd1a4ae2ab8879b5395ee /gnu/usr.bin/binutils | |
| parent | d07cc22b30e96d1f04d382eafe82ce830c81d60c (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/binutils')
| -rw-r--r-- | gnu/usr.bin/binutils/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile index 6d0ef550caf8f..7363a6f13924a 100644 --- a/gnu/usr.bin/binutils/Makefile +++ b/gnu/usr.bin/binutils/Makefile @@ -8,9 +8,15 @@ SUBDIR= libiberty \ SUBDIR.${MK_BINUTILS}+= doc SUBDIR.${MK_BINUTILS}+= libbinutils -SUBDIR.${MK_BINUTILS}+= as SUBDIR.${MK_BINUTILS}+= objdump +# GNU as is used on x86 only, for a few files that cannot be assembled by +# Clang IAS. Other archs either use Clang IAS for every assembly file, or +# use external toolchain. +.if ${TARGET} == "amd64" || ${TARGET} == "i386" +SUBDIR.${MK_BINUTILS}+= as +.endif + # All archs except powerpc either use lld or require external toolchain. # powerpc still needs binutils ld to link 32-bit binaries. .if ${TARGET} == "powerpc" |
