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