]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Build: Fix modules getting their optimization setting overridden.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 13 Jul 2018 23:26:46 +0000 (18:26 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 17 Jul 2018 17:42:16 +0000 (12:42 -0500)
commit56a8a36c663fee6c86e9bcb04a3303bd4e3df740
tree02667fda1b6a7603a0f524a29ea91d41f33fb2f9
parent3e6272b0f6cc6d6beabb59683e622a1d7977729a
Build: Fix modules getting their optimization setting overridden.

Asterisk modules that use PJPROJECT services have their compiler
optimization and possibly their symbolic debug options overridden by the
PJPROJECT configure script selected settings.

* We need to filter-out any -O and -g options in PJ_CFLAGS before echoing
out the result so the PJPROJECT_INCLUDE variable does not override the
Asterisk module settings when using bundled PJPROJECT.

NOTE: This patch only has an effect when using bundled PJPROJECT.

ASTERISK-27563

Change-Id: If124169735ecf572ad1535cd43bff94cb44d5b30
third-party/pjproject/Makefile