0001-gyp-force-link-command-to-use-CXX.patch 1.3 KB

1234567891011121314151617181920212223242526272829
  1. From 90a3c113c19ec615249ab880c45c6c0a8d369098 Mon Sep 17 00:00:00 2001
  2. From: Martin Bark <martin@barkynet.com>
  3. Date: Tue, 30 Jun 2015 09:43:47 +0100
  4. Subject: [PATCH 2/4] gyp: force link command to use CXX
  5. Signed-off-by: Samuel Martin <s.martin49@gmail.com>
  6. Signed-off-by: Martin Bark <martin@barkynet.com>
  7. [yann.morin.1998@free.fr: adapt to 4.1.2]
  8. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  9. ---
  10. tools/gyp/pylib/gyp/generator/make.py | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py
  13. index b88a433..0a1f2e0 100644
  14. --- a/tools/gyp/pylib/gyp/generator/make.py
  15. +++ b/tools/gyp/pylib/gyp/generator/make.py
  16. @@ -142,7 +142,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
  17. # special "figure out circular dependencies" flags around the entire
  18. # input list during linking.
  19. quiet_cmd_link = LINK($(TOOLSET)) $@
  20. -cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
  21. +cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
  22. # We support two kinds of shared objects (.so):
  23. # 1) shared_library, which is just bundling together many dependent libraries
  24. --
  25. 2.1.4