Commit 16b38ad
committed
Enable -fvisibility-inlines-hidden
All inlined class member functions are then hidden by default,
leading to potentially smaller binary sizes and shorter link times.
Without the flag, libaudcore.so for example included a symbol for
QEvent::setAccepted() from /usr/include/qt/QtCore/qcoreevent.h:
$ nm -D libaudcore.so
0000000000035f50 W _ZN6QEvent11setAcceptedEb
See also: https://gcc.gnu.org/wiki/Visibility1 parent f694a92 commit 16b38ad
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments