diff options
author | ed <ed@FreeBSD.org> | 2010-11-11 16:53:25 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-11-11 16:53:25 +0000 |
commit | 5f1c2ebcce278ea22b2818f58bef8a236c8b9ebe (patch) | |
tree | b44616ee43ee1914cda25f093e3c2260cf9f97e7 /lib/libcompiler_rt | |
parent | 1b04dcdfa7b5e42e464878eca0bbb3236498629b (diff) | |
download | FreeBSD-src-5f1c2ebcce278ea22b2818f58bef8a236c8b9ebe.zip FreeBSD-src-5f1c2ebcce278ea22b2818f58bef8a236c8b9ebe.tar.gz |
Set symbol visibility to hidden.
Not doing so may cause all sorts of random libraries to expose
libcompiler_rt's functions, which should of course not be done.
Discussed with: kan, kib
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r-- | lib/libcompiler_rt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index e290f1d..2da28aa 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -6,7 +6,7 @@ LIB= compiler_rt NO_PIC= WARNS?= 2 -CFLAGS+=${PICFLAG} +CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN .if ${MACHINE_CPUARCH} == "amd64" CRTARCH=x86_64 |