Retire CLANG_NO_IAS34
CLANG_NO_IAS34 was introduced in r276696 to allow then-HEAD kernels to be built with clang 3.4 in FreeBSD 10. As FreeBSD 11 and later includes a version of Clang with a sufficiently capable integrated assembler we do not need the workaround any longer. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
164b2a66dd
commit
78c2ba0e74
@ -37,9 +37,6 @@ INCLUDES+= -I$S/contrib/libfdt
|
||||
CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
|
||||
.endif
|
||||
|
||||
ASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS34}
|
||||
ASM_CFLAGS.mpboot.S= ${CLANG_NO_IAS34}
|
||||
|
||||
%BEFORE_DEPEND
|
||||
|
||||
%OBJS
|
||||
|
@ -32,9 +32,6 @@ S= ../../..
|
||||
|
||||
INCLUDES+= -I$S/contrib/libfdt
|
||||
|
||||
ASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS34}
|
||||
ASM_CFLAGS.mpboot.s= ${CLANG_NO_IAS34}
|
||||
|
||||
%BEFORE_DEPEND
|
||||
|
||||
%OBJS
|
||||
|
@ -39,10 +39,6 @@ CWARNEXTRA+= -Wno-address-of-packed-member
|
||||
.endif
|
||||
|
||||
CLANG_NO_IAS= -no-integrated-as
|
||||
.if ${COMPILER_VERSION} < 30500
|
||||
# XXX: clang < 3.5 integrated-as doesn't grok .codeNN directives
|
||||
CLANG_NO_IAS34= -no-integrated-as
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc"
|
||||
|
@ -8,5 +8,3 @@ SRCS= smapi.c smapi_bios.S \
|
||||
bus_if.h device_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CFLAGS.smapi_bios.S= ${CLANG_NO_IAS34}
|
||||
|
Loading…
Reference in New Issue
Block a user