diff options
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index f76d84b15..03bc7e81a 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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) |