From 90b44255492eccbfedc19da1695ef2eadb251789 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Tue, 7 Mar 2017 02:17:38 +0000 Subject: [PATCH] Clang in base now supports -mlongcall, so remove this hack PR: 215947 MFC after: 2 weeks --- lib/csu/powerpc64/Makefile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile index 104ab2064882..c560a2ff2651 100644 --- a/lib/csu/powerpc64/Makefile +++ b/lib/csu/powerpc64/Makefile @@ -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 -.if ${COMPILER_TYPE} != "gcc" -CC:= gcc -COMPILER_TYPE:= gcc -.endif - FILES= ${OBJS} FILESMODE= ${LIBMODE} FILESOWN= ${LIBOWN}