# DESTDIR is the staging (or final) directory where files are copied
# DESTDIR is the staging (or final) directory where files are copied
# during the install process. Define it before 'export', otherwise
# during the install process. Define it before 'export', otherwise
# export will set it to the empty string making ?= fail.
# export will set it to the empty string making ?= fail.
# Trying to run asterisk from the DESTDIR is completely unsupported
# behavior.
# WARNING: do not put spaces or comments after the value.
# WARNING: do not put spaces or comments after the value.
DESTDIR?=$(INSTALL_PATH)
DESTDIR?=$(INSTALL_PATH)
exportDESTDIR
exportDESTDIR
@ -405,7 +407,7 @@ $(MOD_SUBDIRS):
$(OTHER_SUBDIRS):
$(OTHER_SUBDIRS):
+@_ASTCFLAGS="$(OTHER_SUBDIR_CFLAGS)$(_ASTCFLAGS)"ASTCFLAGS="$(ASTCFLAGS)"_ASTLDFLAGS="$(_ASTLDFLAGS)"ASTLDFLAGS="$(ASTLDFLAGS)"$(SUBMAKE) --no-builtin-rules -C $@SUBDIR=$@ all
+@_ASTCFLAGS="$(OTHER_SUBDIR_CFLAGS)$(_ASTCFLAGS)"ASTCFLAGS="$(ASTCFLAGS)"_ASTLDFLAGS="$(_ASTLDFLAGS)"ASTLDFLAGS="$(ASTLDFLAGS)"$(SUBMAKE) --no-builtin-rules -C $@SUBDIR=$@ all