[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

symbols file: To hide or not to hide...


  So I finally managed to get my C++ symbols file generated. However
before shooting myself in the foot, I'd like to know if I need to
generate the symbol file using -fvisibility=hidden or not ? The output
of pkgkde-gensymbols/pkgkde-symbolshelper[1] seems to be drastically
affected by having/not having this compiler flag.
  I could not find any explanation in §8.6

Here is my d/rules when using hidden flag:

#!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND=-fvisibility=hidden
export DEB_CXXFLAGS_MAINT_APPEND=-fvisibility=hidden

Thanks !
[1] http://www.eyrie.org/~eagle/journal/2012-01/008.html

Reply to: