Skip to content
Snippets Groups Projects
Commit f5a03850 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "Build: Fix modules getting their optimization setting overridden."

parents fcc0a6fe 5febc995
No related branches found
No related tags found
No related merge requests found
......@@ -158,8 +158,11 @@ build.mak: 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 $(PJ_CFLAGS)
@echo $(filter-out -O% -g%,$(PJ_CFLAGS))
libpj%.a: source/build.mak
$(ECHO_PREFIX) Compiling lib $(@F)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment