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}
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to