nodejs-0002-gyp-force-link-command-to-use-CXX.patch 1.2 KB

1234567891011121314151617181920212223242526
  1. From 00d809e9305241f8636a2d75e22c493293e6971a Mon Sep 17 00:00:00 2001
  2. From: Samuel Martin <s.martin49@gmail.com>
  3. Date: Sun, 20 Apr 2014 15:03:01 +0200
  4. Subject: [PATCH] gyp: force link command to use CXX
  5. Signed-off-by: Samuel Martin <s.martin49@gmail.com>
  6. ---
  7. tools/gyp/pylib/gyp/generator/make.py | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py
  10. index 0de510e..54e4c96 100644
  11. --- a/tools/gyp/pylib/gyp/generator/make.py
  12. +++ b/tools/gyp/pylib/gyp/generator/make.py
  13. @@ -134,7 +134,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
  14. # special "figure out circular dependencies" flags around the entire
  15. # input list during linking.
  16. quiet_cmd_link = LINK($(TOOLSET)) $@
  17. -cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
  18. +cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
  19. # We support two kinds of shared objects (.so):
  20. # 1) shared_library, which is just bundling together many dependent libraries
  21. --
  22. 1.9.2