summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-08 14:02:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-08 14:02:50 +0000
commit6ad0626daa46055f674a46fce243a46aeb46b3a1 (patch)
treeab8ca611ce0954f79afd94569ac9cebdc4fcc0db /win32/Makefile.sub
parent54a52efe09e5d47911cbbfe634167051197d1e62 (diff)
downloadruby-6ad0626daa46055f674a46fce243a46aeb46b3a1.tar.gz
* win32/Makefile.sub (LDFLAGS): always prepends -link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index e0657c7158..441e614691 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -165,8 +165,9 @@ CFLAGS = $(RUNTIMEFLAG) $(DEBUGFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG)
CXXFLAGS = $(CFLAGS)
!endif
!if !defined(LDFLAGS)
-LDFLAGS = -link -incremental:no -debug -opt:ref -opt:icf
+LDFLAGS = -incremental:no -debug -opt:ref -opt:icf
!endif
+LDFLAGS = -link $(LDFLAGS)
!if !defined(XLDFLAGS)
XLDFLAGS = -stack:$(STACK)
!endif