From 37ad708a1ffd3a5cb2bf095294370439fd7d360d Mon Sep 17 00:00:00 2001 From: Douglas Johnson Date: Sat, 20 Apr 2013 15:42:14 -0600 Subject: [PATCH] Allow environment set CFLAGS to propagate to sub components Issue #168 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 5bb15c760dd..13e96c37d95 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,7 +93,7 @@ rust: $(CFG_RUSTC) define DEF_SUBMODULE_VARS DEPS_$(1) = -CFLAGS_$(1) = -O2 +CFLAGS_$(1) = $$(CFLAGS) # any "done" dummy files must be named libSOMETHING.dummy. # # We can't auto-compute this, because some modules have lib* prefix in