[Asterisk-code-review] codec_gsm: Honor global optimization flags like DONT_OPTIMIZE. (asterisk[master])
Alexander Traud
asteriskteam at digium.com
Thu Apr 16 03:27:37 CDT 2020
Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/14262 )
Change subject: codec_gsm: Honor global optimization flags like DONT_OPTIMIZE.
......................................................................
codec_gsm: Honor global optimization flags like DONT_OPTIMIZE.
ASTERISK-28792
Change-Id: If65ffcf34045fff1c86a3d492feba222a48f3806
---
M codecs/gsm/Makefile
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/62/14262/1
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 489a0f3..7a719c5 100644
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -42,7 +42,7 @@
# set the optimization to -O2 in this case.
ifeq ($(shell $(CC) -v 2>&1 | awk '/^gcc version/ { split($$3, v, "."); printf "%s.%s\n", v[1], v[2]; }' ),4.2)
-OPTIMIZE=-O2
+GSM_OPTIMIZE=-O2
endif
PG =
@@ -62,7 +62,7 @@
# CC = /usr/lang/acc
# CCFLAGS = -c -O
-CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(OPTIMIZE)
+CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(GSM_OPTIMIZE)
# LD = gcc
# LDFLAGS =
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14262
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: If65ffcf34045fff1c86a3d492feba222a48f3806
Gerrit-Change-Number: 14262
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200416/f890dbda/attachment.html>
More information about the asterisk-code-review
mailing list