<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14262">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec_gsm: Honor global optimization flags like DONT_OPTIMIZE.<br><br>ASTERISK-28792<br><br>Change-Id: If65ffcf34045fff1c86a3d492feba222a48f3806<br>---<br>M codecs/gsm/Makefile<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/62/14262/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile</span><br><span>index 489a0f3..7a719c5 100644</span><br><span>--- a/codecs/gsm/Makefile</span><br><span>+++ b/codecs/gsm/Makefile</span><br><span>@@ -42,7 +42,7 @@</span><br><span> # set the optimization to -O2 in this case.</span><br><span> </span><br><span> ifeq ($(shell $(CC) -v 2>&1 | awk '/^gcc version/ { split($$3, v, "."); printf "%s.%s\n", v[1], v[2]; }' ),4.2)</span><br><span style="color: hsl(0, 100%, 40%);">-OPTIMIZE=-O2</span><br><span style="color: hsl(120, 100%, 40%);">+GSM_OPTIMIZE=-O2</span><br><span> endif</span><br><span> </span><br><span> PG =</span><br><span>@@ -62,7 +62,7 @@</span><br><span> # CC = /usr/lang/acc</span><br><span> # CCFLAGS = -c -O</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(OPTIMIZE)</span><br><span style="color: hsl(120, 100%, 40%);">+CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(GSM_OPTIMIZE)</span><br><span> </span><br><span> # LD = gcc</span><br><span> # LDFLAGS =</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14262">change 14262</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/+/14262"/><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: If65ffcf34045fff1c86a3d492feba222a48f3806 </div>
<div style="display:none"> Gerrit-Change-Number: 14262 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>