2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

nmk: rules.mk -- Add per-obj flags

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov
2016-03-21 15:12:00 +03:00
committed by Pavel Emelyanov
parent c0ba98fd30
commit 7beccce4b4

View File

@@ -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
#