diff options
author | imp <imp@FreeBSD.org> | 2011-05-19 05:13:25 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2011-05-19 05:13:25 +0000 |
commit | 4633a79407dfb12c35f652e3f1dc127ec2842696 (patch) | |
tree | 7b2019db9e3ff1e80536e1fe884377a2692f4388 /gnu/usr.bin/Makefile | |
parent | a47ef66623a172a2eb328a57badab597eb5551ee (diff) | |
download | FreeBSD-src-4633a79407dfb12c35f652e3f1dc127ec2842696.zip FreeBSD-src-4633a79407dfb12c35f652e3f1dc127ec2842696.tar.gz |
Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils. They default to true, unless
MK_TOOLCHAIN is no.
Reviewed by: ru@
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r-- | gnu/usr.bin/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 7eaad9f..0ee257f 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -47,12 +47,14 @@ _texinfo= texinfo _rcs= rcs .endif -.if ${MK_TOOLCHAIN} != "no" +.if ${MK_BINUTILS} != "no" _binutils= binutils +.endif +.if ${MK_GCC} != "no" _cc= cc +.endif .if ${MK_GDB} != "no" _gdb= gdb .endif -.endif .include <bsd.subdir.mk> |