Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 14:21:54 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308001 - head/lib/libgcc_eh
Message-ID:  <201610271421.u9RELsw3013840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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