1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Clang in base now supports -mlongcall, so remove this hack

PR:		215947
MFC after:	2 weeks
This commit is contained in:
Justin Hibbits 2017-03-07 02:17:38 +00:00
parent 2dd9e369ef
commit 90b4425549
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314826

View File

@ -9,16 +9,6 @@ CFLAGS+= -I${.CURDIR:H}/common \
-I${SRCTOP}/lib/libc/include \
-mlongcall
# XXX: See the log for r232932 as to why the above -mlongcall is needed. Since
# clang doesn't support -mlongcall, and testing shows a clang linked with a
# clang-built csu segfaults, this must currently be compiled with gcc. Once
# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
.include <bsd.compiler.mk>
.if ${COMPILER_TYPE} != "gcc"
CC:= gcc
COMPILER_TYPE:= gcc
.endif
FILES= ${OBJS}
FILESMODE= ${LIBMODE}
FILESOWN= ${LIBOWN}