aboutsummaryrefslogtreecommitdiff
path: root/build2/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'build2/buildfile')
-rw-r--r--build2/buildfile11
1 files changed, 1 insertions, 10 deletions
diff --git a/build2/buildfile b/build2/buildfile
index 7f4187e..fd9cec6 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -7,7 +7,7 @@ import libs = libbutl%lib{butl}
include ../libbuild2/
libs += ../libbuild2/lib{build2}
-for m: bash bin c cc in version
+for m: bash bin c cc cxx in version
{
include ../libbuild2/$m/
libs += ../libbuild2/$m/lib{build2-$m}
@@ -43,15 +43,6 @@ for t: cxx{**.test...}
#
obj{b}: cxx.poptions += -DBUILD2_HOST_TRIPLET=\"$cxx.target\"
-# Pass native C and C++ compiler paths (not forgetting to escape backslashes
-# on Windows). These are used as defaults for BUILD2_DEFAULT_*.
-#
-if ($cxx.target == $build.host)
-{
- cxx/obj{init}: cxx.poptions += \
- -DBUILD2_NATIVE_CXX=\"$regex.replace($recall($cxx.path), '\\', '\\\\')\"
-}
-
if ($cxx.target.class != 'windows')
{
if ($cxx.target.class == 'linux')