[CRIU] [PATCH 3/9] nmk: rules.mk -- Add per-obj flags
Cyrill Gorcunov
gorcunov at openvz.org
Mon Mar 21 05:12:15 PDT 2016
From: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
scripts/nmk/scripts/rules.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/nmk/scripts/rules.mk b/scripts/nmk/scripts/rules.mk
index 04c9a7e49547..e69de0b00e90 100644
--- a/scripts/nmk/scripts/rules.mk
+++ b/scripts/nmk/scripts/rules.mk
@@ -3,11 +3,11 @@ ifndef ____nmk_defined__rules
#
# Accumulate common flags.
define nmk-ccflags
- $(CFLAGS) $(ccflags-y)
+ $(CFLAGS) $(ccflags-y) $(CFLAGS_$(@F))
endef
define nmk-asflags
- $(CFLAGS) $(ASFLAGS) $(asflags-y)
+ $(CFLAGS) $(ASFLAGS) $(asflags-y) $(AFLAGS_$(@F))
endef
#
--
2.5.0
More information about the CRIU
mailing list