Mercurial > projects > ldc
diff gen/toobj.cpp @ 677:075c1272a01d
Link using gcc instead.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 11 Oct 2008 21:21:21 +0200 |
parents | 1f0a78174598 |
children | b411c41a9716 |
line wrap: on
line diff
--- a/gen/toobj.cpp Sat Oct 11 20:00:36 2008 +0200 +++ b/gen/toobj.cpp Sat Oct 11 21:21:21 2008 +0200 @@ -420,7 +420,8 @@ args.push_back("-o"); args.push_back(objpath.toString()); -//TODO: Add other options, like -fpic + //FIXME: only use this if needed? + args.push_back("-fpic"); // Now that "args" owns all the std::strings for the arguments, call the c_str // method to get the underlying string array. We do this game so that the