mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
Merge "Build: Fix modules getting their optimization setting overridden." into 13
This commit is contained in:
5
third-party/pjproject/Makefile
vendored
5
third-party/pjproject/Makefile
vendored
@@ -155,8 +155,11 @@ build.mak: source/build.mak
|
|||||||
|
|
||||||
configure: source/build.mak
|
configure: source/build.mak
|
||||||
|
|
||||||
|
# We need to filter-out any -O and -g options in PJ_CFLAGS before echoing out
|
||||||
|
# the result so Asterisk modules don't have the optimization and symbolic debug
|
||||||
|
# options overridden by the PJPROJECT configure script selected settings.
|
||||||
echo_cflags: source/build.mak
|
echo_cflags: source/build.mak
|
||||||
@echo $(PJ_CFLAGS)
|
@echo $(filter-out -O% -g%,$(PJ_CFLAGS))
|
||||||
|
|
||||||
libpj%.a: source/build.mak
|
libpj%.a: source/build.mak
|
||||||
$(ECHO_PREFIX) Compiling lib $(@F)
|
$(ECHO_PREFIX) Compiling lib $(@F)
|
||||||
|
|||||||
Reference in New Issue
Block a user