about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-06-18 22:06:38 -0400
committerGraydon Hoare <graydon@mozilla.com>2011-06-18 22:07:02 -0400
commit814beaafdfe13560da41f83136eaa4434fc3fb43 (patch)
tree78585d26bfe3d317ef05b1773f93723de1b5171a /src/comp
parent7bb6733f2c186e1728b21fd4a609716a63b8250e (diff)
downloadrust-814beaafdfe13560da41f83136eaa4434fc3fb43.tar.gz
rust-814beaafdfe13560da41f83136eaa4434fc3fb43.zip
Add -lssp on windows in attempt to put out tinderbox; no idea why ssp seems required on mingw.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index ef357281d9c..abcaa07241d 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -407,7 +407,7 @@ fn main(vec[str] args) {
         alt (sess.get_targ_cfg().os) {
             case (session::os_win32) {
                 shared_cmd = "-shared";
-                gcc_args = common_args + ["-march=i686", "-O2"];
+                gcc_args = common_args + ["-march=i686", "-O2", "-lssp"];
             }
             case (session::os_macos) {
                 shared_cmd = "-dynamiclib";