Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2017 02:17:38 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314826 - head/lib/csu/powerpc64
Message-ID:  <201703070217.v272HceV089127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Mar  7 02:17:38 2017
New Revision: 314826
URL: https://svnweb.freebsd.org/changeset/base/314826

Log:
  Clang in base now supports -mlongcall, so remove this hack
  
  PR:		215947
  MFC after:	2 weeks

Modified:
  head/lib/csu/powerpc64/Makefile

Modified: head/lib/csu/powerpc64/Makefile
==============================================================================
--- head/lib/csu/powerpc64/Makefile	Tue Mar  7 02:16:40 2017	(r314825)
+++ head/lib/csu/powerpc64/Makefile	Tue Mar  7 02:17:38 2017	(r314826)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703070217.v272HceV089127>