[CRIU] [PATCH] build/nmk: rename $@-ldflags-y to LDFLAGS_$@
Dmitry Safonov
dsafonov at virtuozzo.com
Sat Feb 20 05:22:24 PST 2016
That will complement existing CFLAGS_ and ASFLAGS_.
As no one use it yet (I will use it, do not remove) - no need
for convert-everything patch.
Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
scripts/nmk/scripts/build.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/nmk/scripts/build.mk b/scripts/nmk/scripts/build.mk
index d976390..10a5d44 100644
--- a/scripts/nmk/scripts/build.mk
+++ b/scripts/nmk/scripts/build.mk
@@ -105,7 +105,7 @@ define gen-custom-target-rule
ifneq ($($(1)-obj-y),)
$(eval $(call gen-ld-target-rule, \
$(obj)/$(1).built-in.o, \
- $(ld_flags) $($(1)-ldflags-y), \
+ $(ld_flags) $(LDFLAGS_$(1)), \
$(call objectify,$($(1)-obj-y)), \
$(call objectify,$($(1)-obj-y)) \
$(call objectify,$($(1)-obj-e))))
--
2.7.1
More information about the CRIU
mailing list