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:
committed by
Pavel Emelyanov
parent
c0ba98fd30
commit
7beccce4b4
@@ -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
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user