git: 95ce44457bf2 - stable/12 - Remove CLANG_NO_IAS definition

Dimitry Andric dim at FreeBSD.org
Thu Sep 2 23:58:48 UTC 2021


The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=95ce44457bf20e2ecc059d21d64c80827a5efa2a

commit 95ce44457bf20e2ecc059d21d64c80827a5efa2a
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2019-09-01 16:47:48 +0000
Commit:     Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2021-09-02 23:30:08 +0000

    Remove CLANG_NO_IAS definition
    
    CLANG_NO_IAS is not used anywhere in the tree.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 6c30aa54c3f580b72a5171b69bc541fba31831b8)
---
 share/mk/bsd.sys.mk | 7 -------
 sys/conf/kern.mk    | 2 --
 2 files changed, 9 deletions(-)

diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 61da8f31cb0f..0849c242f4cd 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -204,13 +204,6 @@ CWARNFLAGS+=	-Wno-unknown-pragmas
 # This warning is utter nonsense
 CFLAGS+=	-Wno-format-zero-length
 
-# We need this conditional because many places that use it
-# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.
-# unconditionally, and can't easily use the CFLAGS.clang=
-# mechanism.
-.if ${COMPILER_TYPE} == "clang"
-CLANG_NO_IAS=	 -no-integrated-as
-.endif
 CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
 		 -mllvm -simplifycfg-dup-ret
 .if ${COMPILER_VERSION} >= 30500 && ${COMPILER_VERSION} < 30700
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 04af60c98cb4..6c8480810a32 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -40,8 +40,6 @@ CWARNEXTRA+=	-Wno-address-of-packed-member
 .if ${COMPILER_VERSION} >= 100000
 NO_WMISLEADING_INDENTATION=	-Wno-misleading-indentation
 .endif
-
-CLANG_NO_IAS= -no-integrated-as
 .endif
 
 .if ${COMPILER_TYPE} == "gcc"


More information about the dev-commits-src-branches mailing list