mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Add --enable-symbolic-functions configure option
Added --enable-symbolic-functions configure option. This will detect and pass -Bsymbolic-functions linker option, which gives you better performance and smaller binary size. Only recent binutils supports this option.
This commit is contained in:
parent
41dfdba7fb
commit
3b1153c435
2 changed files with 24 additions and 1 deletions
|
|
@ -7,6 +7,12 @@ else
|
|||
VSYMS =
|
||||
endif
|
||||
|
||||
if SYMBOLIC_FUNCTIONS
|
||||
SYMFUNCS = -Wl,-Bsymbolic-functions
|
||||
else
|
||||
SYMFUNCS =
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libasound.la
|
||||
libasound_la_SOURCES = conf.c confmisc.c input.c output.c async.c error.c dlmisc.c socket.c shmarea.c userfile.c names.c
|
||||
|
||||
|
|
@ -43,7 +49,7 @@ endif
|
|||
SUBDIRS += compat conf
|
||||
libasound_la_LIBADD += compat/libcompat.la @ALSA_DEPLIBS@
|
||||
|
||||
libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS)
|
||||
libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS)
|
||||
|
||||
control/libcontrol.la:
|
||||
$(MAKE) -C control libcontrol.la
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue