aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_eh
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-10-27 14:21:54 +0000
committerEd Maste <emaste@FreeBSD.org>2016-10-27 14:21:54 +0000
commite301826d4c835cccd3b51197ef74800c841d4445 (patch)
tree73fdceda4a7d82b92d2a045afbdae417011d6f9e /lib/libgcc_eh
parent844a6f0c5308cc9ef487f4c07394c88f3a5f5d4c (diff)
downloadsrc-e301826d4c835cccd3b51197ef74800c841d4445.tar.gz
src-e301826d4c835cccd3b51197ef74800c841d4445.zip
libgcc_eh/libgcc_s: apply hidden visibility only to static libs
Notes
Notes: svn path=/head/; revision=308001
Diffstat (limited to 'lib/libgcc_eh')
-rw-r--r--lib/libgcc_eh/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc
index 7321fbea78f9..85c77aae5d7b 100644
--- a/lib/libgcc_eh/Makefile.inc
+++ b/lib/libgcc_eh/Makefile.inc
@@ -4,7 +4,7 @@ COMPILERRTDIR= ${SRCTOP}/contrib/compiler-rt
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}