From 0e73b872890a65d25bfe8b0344bdecfd17941f64 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Sep 2016 18:42:22 +0200 Subject: Adjust to freebsd to bsd target class change --- build2/cc/compile.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cc/compile.cxx') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index c4df30f..fce5d21 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -348,7 +348,7 @@ namespace build2 { // On Darwin, Win32 -fPIC is the default. // - if (tclass == "linux" || tclass == "freebsd") + if (tclass == "linux" || tclass == "bsd") cs.append ("-fPIC"); } @@ -742,7 +742,7 @@ namespace build2 { // On Darwin, Win32 -fPIC is the default. // - if (tclass == "linux" || tclass == "freebsd") + if (tclass == "linux" || tclass == "bsd") args.push_back ("-fPIC"); } @@ -1492,7 +1492,7 @@ namespace build2 { // On Darwin, Win32 -fPIC is the default. // - if (tclass == "linux" || tclass == "freebsd") + if (tclass == "linux" || tclass == "bsd") args.push_back ("-fPIC"); } -- cgit v1.1