[flac-dev] [PATCH 4/5] Hide symbols with nasm.
Miroslav Lichvar
mlichvar at redhat.com
Mon Dec 3 12:04:58 PST 2012
Hide all cglobal symbols with nasm >= 2.
---
src/libFLAC/ia32/nasm.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/libFLAC/ia32/nasm.h b/src/libFLAC/ia32/nasm.h
index 8455772..e58b744 100644
--- a/src/libFLAC/ia32/nasm.h
+++ b/src/libFLAC/ia32/nasm.h
@@ -57,7 +57,11 @@
%ifdef FLAC__PUBLIC_NEEDS_UNDERSCORE
global _%1
%else
- global %1
+ %if __NASM_MAJOR__ >= 2
+ global %1:function hidden
+ %else
+ global %1
+ %endif
%endif
%endmacro
--
1.7.11.7
More information about the flac-dev
mailing list