<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16448">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_snmp: Add -fPIC to _ASTCFLAGS<br><br>With gcc 11, res/res_snmp.c and res/snmp/agent.c need the<br>-fPIC option added to its _ASTCFLAGS.<br><br>ASTERISK-29634<br><br>Change-Id: I34649c85e075fd954e578378fabf798c3f038f50<br>---<br>M res/Makefile<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/48/16448/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/Makefile b/res/Makefile</span><br><span>index ae090fa..45ef749 100644</span><br><span>--- a/res/Makefile</span><br><span>+++ b/res/Makefile</span><br><span>@@ -71,6 +71,8 @@</span><br><span> $(call MOD_ADD_C,res_stir_shaken,$(wildcard res_stir_shaken/*.c))</span><br><span> </span><br><span> res_parking.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)</span><br><span style="color: hsl(120, 100%, 40%);">+snmp/agent.o: _ASTCFLAGS+=-fPIC</span><br><span style="color: hsl(120, 100%, 40%);">+res_snmp.o: _ASTCFLAGS+=-fPIC</span><br><span> </span><br><span> # Dependencies for res_ari_*.so are generated, so they're in this file</span><br><span> include ari.make</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16448">change 16448</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16448"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I34649c85e075fd954e578378fabf798c3f038f50 </div>
<div style="display:none"> Gerrit-Change-Number: 16448 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>