<p>Sebastian Kemper <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13591">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">check_expr2: fix cross-compile/hardening issues<br><br>When building check_expr2 with ASLR PIE hardening enabled the linker<br>fails. This is resolved by adding the regular compiler flags when<br>building the object files from ast_expr2f.c and ast_expr2.c.<br><br>Note: The STANDALONE define is removed because it is already defined in<br>_ASTCFLAGS. YY_NO_INPUT is defined so that the compile survives<br>'--enable-dev-mode'.<br><br>Also, a Makefile variable "CROSS_COMPILING" is added so that the<br>build system doesn't try to run check_expr2 when cross-compiling,<br>because that will fail the build as will.<br><br>ASTERISK-28685 #close<br><br>Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net><br>Change-Id: If435b7db9f9ad8266245bda51c81c220f9658915<br>---<br>M configure<br>M configure.ac<br>M makeopts.in<br>M menuselect/configure<br>M utils/Makefile<br>5 files changed, 58 insertions(+), 73 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/91/13591/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13591">change 13591</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/+/13591"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If435b7db9f9ad8266245bda51c81c220f9658915 </div>
<div style="display:none"> Gerrit-Change-Number: 13591 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Sebastian Kemper <sebastian_ml@gmx.net> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>