svn commit: r308563 - in head/lib: libgcc_eh libgcc_s

Ed Maste emaste at FreeBSD.org
Fri Nov 11 23:28:09 UTC 2016


Author: emaste
Date: Fri Nov 11 23:28:07 2016
New Revision: 308563
URL: https://svnweb.freebsd.org/changeset/base/308563

Log:
  libcc_{s,eh}: build without SSP
  
  As in the gnu/lib/libgcc Makefile:
      libgcc is linked in last and thus cannot depend on ssp
      symbols coming from earlier libraries. Disable stack protection
      for this library.
  
  Reviewed by:	dim
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lib/libgcc_eh/Makefile
  head/lib/libgcc_s/Makefile

Modified: head/lib/libgcc_eh/Makefile
==============================================================================
--- head/lib/libgcc_eh/Makefile	Fri Nov 11 23:07:31 2016	(r308562)
+++ head/lib/libgcc_eh/Makefile	Fri Nov 11 23:28:07 2016	(r308563)
@@ -5,6 +5,7 @@
 PACKAGE=	clibs
 LIB=		gcc_eh
 NO_PIC=
+MK_SSP=		no
 WARNS?=	2
 
 .include "Makefile.inc"

Modified: head/lib/libgcc_s/Makefile
==============================================================================
--- head/lib/libgcc_s/Makefile	Fri Nov 11 23:07:31 2016	(r308562)
+++ head/lib/libgcc_s/Makefile	Fri Nov 11 23:28:07 2016	(r308563)
@@ -4,6 +4,7 @@ PACKAGE=	clibs
 SHLIB_NAME=	libgcc_s.so.1
 SHLIBDIR?=	/lib
 
+MK_SSP=		no
 WARNS?=	2
 
 LDFLAGS+=	-nodefaultlibs


More information about the svn-src-head mailing list