libgcc_eh/libgcc_s: apply hidden visibility only to static libs

This commit is contained in:
emaste 2016-10-27 14:21:54 +00:00
parent eff8c9eb56
commit 8ef5e17872

View File

@ -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}