]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
asterisk: Don't optimise for builder
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Jul 2018 14:21:36 +0000 (14:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Jul 2018 14:22:59 +0000 (14:22 +0000)
Asterisk enables -march=native which renders the code
incompatible to most systems.

Fixes: #11793
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/asterisk

index 723639015680821172217023fe6ade3cbc9b04e4..8bedb4f28bf1c9da67c2648a9480cbd7fd8956c6 100755 (executable)
@@ -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