Clang in base now supports -mlongcall, so remove this hack
PR: 215947 MFC after: 2 weeks
This commit is contained in:
parent
2dd9e369ef
commit
90b4425549
@ -9,16 +9,6 @@ CFLAGS+= -I${.CURDIR:H}/common \
|
|||||||
-I${SRCTOP}/lib/libc/include \
|
-I${SRCTOP}/lib/libc/include \
|
||||||
-mlongcall
|
-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}
|
FILES= ${OBJS}
|
||||||
FILESMODE= ${LIBMODE}
|
FILESMODE= ${LIBMODE}
|
||||||
FILESOWN= ${LIBOWN}
|
FILESOWN= ${LIBOWN}
|
||||||
|
Loading…
Reference in New Issue
Block a user