aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cxx/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cxx/buildfile')
-rw-r--r--libbuild2/cxx/buildfile7
1 files changed, 1 insertions, 6 deletions
diff --git a/libbuild2/cxx/buildfile b/libbuild2/cxx/buildfile
index debb574..f7bd126 100644
--- a/libbuild2/cxx/buildfile
+++ b/libbuild2/cxx/buildfile
@@ -45,14 +45,9 @@ cross = ($cxx.target.cpu != $build.host.cpu || \
# Windows). It is used as defaults for BUILD2_DEFAULT_CXX.
#
if! $cross
-{
- obj{init}: cxx.poptions += \
+ {obja objs}{init}: cxx.poptions += \
-DBUILD2_NATIVE_CXX=\"$regex.replace($recall($cxx.path), '\\', '\\\\')\"
- obja{init}: cxx.poptions += -DLIBBUILD2_CXX_STATIC_BUILD
- objs{init}: cxx.poptions += -DLIBBUILD2_CXX_SHARED_BUILD
-}
-
# Export options.
#
lib{build2-cxx}: