dect
/
asterisk
Archived
13
0
Fork 0

Ensure CONFIG_FLAGS makes it into the build rules when doing out of tree builds.

(closes issue #16685)
Reported by: pprindeville


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269008 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2010-06-08 15:41:23 +00:00
parent 48a9dbecbf
commit dbc8563f35
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ else
_ASTCFLAGS+=-O0
endif
ifeq ($(findstring $(CONFIG_CFLAGS),$(_ASTCFLAGS)),)
_ASTCFLAGS+=$(CONFIG_CFLAGS)
endif
# shortcuts for common combinations of flags; these must be recursively expanded so that
# per-target settings will be applied
CC_CFLAGS=$(PTHREAD_CFLAGS) $(_ASTCFLAGS) $(ASTCFLAGS)