Commit 7beccce4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

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

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent c0ba98fd
......@@ -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
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment