From: Luigi P. <ope...@gm...> - 2021-05-07 08:46:42
|
Thank you Lonnie, I'll try today and give you some feedback :) Regards, Luigi <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail priva di virus. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Il giorno ven 7 mag 2021 alle ore 04:09 Lonnie Abelbeck < li...@lo...> ha scritto: > > > > On May 6, 2021, at 5:50 PM, Luigi Porto <ope...@gm...> wrote: > > > > Dear Astlinux Devs, > > > > After a few years of inactivity I would like to recompile Astlinux but I > would have to pass a couple of CFLAGS to Asterisk. > > > > Specifically: CFLAGS="-DENABLE_SRTP_AES_GCM -DENABLE_SRTP_AES_256" > > From: https://usecallmanager.nz/patching-asterisk.html > > What is the right place where I can put them? Which line of asterisk.mk? > > Hi Luigi, > > At Line #246 ... > > > https://github.com/astlinux-project/astlinux/blob/master/package/asterisk/asterisk.mk#L246 > -- > - CFLAGS='$(TARGET_CFLAGS)' \ > + CFLAGS='$(TARGET_CFLAGS) -DENABLE_SRTP_AES_GCM > -DENABLE_SRTP_AES_256' \ > -- > > Also note if you need to add a patch, your "package/asterisk/patches/" > patch filename must begin with "asterisk-nn-" where nn is 13 or 16, for > example: > -- > asterisk-16-cisco-usecallmanager-16.17.0.patch > -- > > Test your patch by... > > If asterisk is already built (else skip), un-build it: > -- > make asterisk-clean > make asterisk-dirclean > -- > > Apply the asterisk patches without building: > -- > make asterisk-patch > -- > > If patches apply, dirclean and build asterisk: > -- > make asterisk-dirclean > make asterisk > -- > > > Good luck. > > Lonnie > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > -- #musk from calabria.ninux.org - CS @openmusk |