projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c78e5
)
Hide symbols with nasm.
author
Miroslav Lichvar
<mlichvar@redhat.com>
Mon, 3 Dec 2012 20:04:58 +0000
(21:04 +0100)
committer
Erik de Castro Lopo
<erikd@mega-nerd.com>
Tue, 4 Dec 2012 06:45:32 +0000
(17:45 +1100)
Hide all cglobal symbols with nasm >= 2.
src/libFLAC/ia32/nasm.h
patch
|
blob
|
history
diff --git
a/src/libFLAC/ia32/nasm.h
b/src/libFLAC/ia32/nasm.h
index
8455772
..
e58b744
100644
(file)
--- 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