link with gcc44+

This commit is contained in:
Jyun-Yan You 2012-01-02 10:39:14 +08:00 committed by Brian Anderson
parent 274fc1b59c
commit 4566578fbd

View File

@ -663,7 +663,9 @@ fn link_binary(sess: session::session,
gcc_args += ["-lrt", "-L/usr/local/lib", "-lexecinfo", gcc_args += ["-lrt", "-L/usr/local/lib", "-lexecinfo",
"-L/usr/local/lib/gcc46", "-L/usr/local/lib/gcc46",
"-L/usr/local/lib/gcc44", "-lstdc++", "-L/usr/local/lib/gcc44", "-lstdc++",
"-Wl,-z,origin"]; "-Wl,-z,origin",
"-Wl,-rpath,/usr/local/lib/gcc46",
"-Wl,-rpath,/usr/local/lib/gcc44"];
} }
// OS X 10.6 introduced 'compact unwind info', which is produced by the // OS X 10.6 introduced 'compact unwind info', which is produced by the