[CRIU] [PATCH 3/9] nmk: rules.mk -- Add per-obj flags
Dmitry Safonov
dsafonov at virtuozzo.com
Mon Mar 21 05:21:30 PDT 2016
On 03/21/2016 03:12 PM, Cyrill Gorcunov wrote:
> 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>
Wow, that's good!
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
> 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
>
> #
--
Regards,
Dmitry Safonov
More information about the CRIU
mailing list