FreeBSD Bugzilla – Attachment 164125 Details for
Bug 205250
[exp-run] removal of /usr/bin/as (evaluate ports impact)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to remove /usr/bin/as
no-as.diff (text/plain), 2.42 KB, created by
Ed Maste
on 2015-12-11 19:51:49 UTC
(
hide
)
Description:
patch to remove /usr/bin/as
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2015-12-11 19:51:49 UTC
Size:
2.42 KB
patch
obsolete
>commit 5868980add242ff3b6421f7916bc31fa038b3d58 >Author: Ed Maste <emaste@freebsd.org> >Date: Fri Dec 11 14:38:52 2015 -0500 > > Add an option for GNU as and enable only on GCC architectures > > amd64, i386, arm, and arm64 use Clang as the system compiler, and use > the Clang driver and integrated assembler, so a standalone as is not > required. > >diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile >index b2a3506..b76bcd5 100644 >--- a/gnu/usr.bin/binutils/Makefile >+++ b/gnu/usr.bin/binutils/Makefile >@@ -7,11 +7,15 @@ SUBDIR= doc\ > libbfd \ > libopcodes \ > libbinutils \ >- as \ >+ ${_as} \ > ld \ > ${_objcopy} \ > objdump \ > >+.if ${MK_AS} != "no" >+_as= as >+.endif >+ > .if ${MK_ELFCOPY_AS_OBJCOPY} == "no" > _objcopy= objcopy > .endif >diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk >index 094019d..229b95a 100644 >--- a/share/mk/src.opts.mk >+++ b/share/mk/src.opts.mk >@@ -217,15 +217,15 @@ __TT=${MACHINE} > ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") > # Clang is enabled, and will be installed as the default /usr/bin/cc. > __DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC >-__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX >+__DEFAULT_NO_OPTIONS+=AS GCC GCC_BOOTSTRAP GNUCXX > .elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mpowerpc*} > # On powerpc, if an external compiler that supports C++11 is used as ${CC}, > # then Clang is enabled, but GCC is installed as the default /usr/bin/cc. >-__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX >+__DEFAULT_YES_OPTIONS+=AS CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX > __DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC > .else > # Everything else disables Clang, and uses GCC instead. >-__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX >+__DEFAULT_YES_OPTIONS+=AS GCC GCC_BOOTSTRAP GNUCXX > __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC > .endif > # In-tree binutils/gcc are older versions without modern architecture support. >diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc >index 0e9c955..572c241 100644 >--- a/tools/build/mk/OptionalObsoleteFiles.inc >+++ b/tools/build/mk/OptionalObsoleteFiles.inc >@@ -61,6 +61,11 @@ OLD_FILES+=usr/share/man/man8/amd64/apm.8.gz > OLD_FILES+=usr/share/man/man8/amd64/apmconf.8.gz > .endif > >+.if ${MK_AS} == no >+OLD_FILES+=usr/bin/as >+OLD_FILES+=usr/share/man/man1/as.1.gz >+.endif >+ > .if ${MK_AT} == no > OLD_FILES+=etc/pam.d/atrun > OLD_FILES+=usr/bin/at
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205250
:
164125
|
211326
|
214281