mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Ensure CONFIG_FLAGS makes it into the build rules when doing out of tree builds.
(closes issue #16685) Reported by: pprindeville git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user