asterisk: Don't optimise for builder

Asterisk enables -march=native which renders the code
incompatible to most systems.

Fixes: #11793

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-07-20 14:21:36 +00:00
parent 011204d963
commit 04441d8a3c

View File

@@ -28,7 +28,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = asterisk
PAK_VER = 24
PAK_VER = 25
DEPS = "jansson libsrtp opus"
@@ -99,6 +99,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--enable res_srtp \
--enable EXTRA-SOUNDS-EN-GSM \
--enable MOH-OPSOUND-GSM \
--disable BUILD_NATIVE \
menuselect.makeopts
# add additional sounds