aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/compile.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-17 16:42:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-17 16:42:38 +0200
commit774bfb559ecaef2aac1dcb7a0414bc6895a9b9d5 (patch)
treeef218a78b2122c6bdc1c13f376d1bcf83fe23e84 /build2/cxx/compile.cxx
parent9ae6fd626ed2ca0b7eff64bda68ca84463e66b84 (diff)
Initial take on DLL support for MinGW toolchain
Diffstat (limited to 'build2/cxx/compile.cxx')
-rw-r--r--build2/cxx/compile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx
index bfeaeb9..b11a919 100644
--- a/build2/cxx/compile.cxx
+++ b/build2/cxx/compile.cxx
@@ -194,7 +194,7 @@ namespace build2
if (t.is_a<objso> ())
{
- // On Darwin -fPIC is the default.
+ // On Darwin, Win32 -fPIC is the default.
//
if (tclass == "linux" || tclass == "freebsd")
cs.append ("-fPIC");
@@ -610,7 +610,7 @@ namespace build2
if (t.is_a<objso> ())
{
- // On Darwin -fPIC is the default.
+ // On Darwin, Win32 -fPIC is the default.
//
if (tclass == "linux" || tclass == "freebsd")
args.push_back ("-fPIC");
@@ -1217,7 +1217,7 @@ namespace build2
{
if (t.is_a<objso> ())
{
- // On Darwin -fPIC is the default.
+ // On Darwin, Win32 -fPIC is the default.
//
if (tclass == "linux" || tclass == "freebsd")
args.push_back ("-fPIC");