diff options
author | Corey Farrell <git@cfware.com> | 2017-12-23 23:51:13 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-23 23:44:12 -0600 |
commit | 23aa20bf209dbc02b01c757c5f5f1a787548ed96 (patch) | |
tree | 5150fe12fe2b7c95fd27c252abeaeee5d30efafc /funcs | |
parent | 553306548ca4b1733b4555575775b91d55db1a99 (diff) |
loader: Add volatile to resource_being_loaded.
Some compiler optimizers seem to assume that dlopen will not use
__attribute__((constructor)) functions to call back to the program.
This was causing resource_being_loaded to be optimized away completely.
ASTERISK-27531 #close
Tested By: abelbeck
Change-Id: If17a3b889e06811a0e7119f0539d052494d6ece9
Diffstat (limited to 'funcs')
0 files changed, 0 insertions, 0 deletions