svn commit: r308001 - head/lib/libgcc_eh

Ed Maste emaste at FreeBSD.org
Thu Oct 27 14:21:55 UTC 2016


Author: emaste
Date: Thu Oct 27 14:21:54 2016
New Revision: 308001
URL: https://svnweb.freebsd.org/changeset/base/308001

Log:
  libgcc_eh/libgcc_s: apply hidden visibility only to static libs

Modified:
  head/lib/libgcc_eh/Makefile.inc

Modified: head/lib/libgcc_eh/Makefile.inc
==============================================================================
--- head/lib/libgcc_eh/Makefile.inc	Thu Oct 27 09:46:22 2016	(r308000)
+++ head/lib/libgcc_eh/Makefile.inc	Thu Oct 27 14:21:54 2016	(r308001)
@@ -4,7 +4,7 @@ COMPILERRTDIR=	${SRCTOP}/contrib/compile
 UNWINDINCDIR=	${SRCTOP}/contrib/llvm/projects/libunwind/include
 UNWINDSRCDIR=	${SRCTOP}/contrib/llvm/projects/libunwind/src
 
-CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
+STATIC_CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
 
 .PATH: ${COMPILERRTDIR}/lib/builtins
 .PATH: ${UNWINDSRCDIR}


More information about the svn-src-all mailing list