aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-22 17:41:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-22 17:41:32 +0200
commit236497a013790c879e9e798bd68083252b43b057 (patch)
tree968e8ecfe08e57a6753e313b0cc4a5c4d4003700
parentdb1de61af298626c75431833aa620dafda2b35f6 (diff)
Define BUILD2_BOOTSTRAP when compiling libbutl sources
-rw-r--r--bootstrap.gmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.gmake b/bootstrap.gmake
index e06c5ec..915014f 100644
--- a/bootstrap.gmake
+++ b/bootstrap.gmake
@@ -161,7 +161,7 @@ $(out_root)/build2/%.b.o: $(src_root)/build2/%.cxx | $$(dir $$@).
$(CXX) -I$(libbutl) -I$(src_root) -DBUILD2_BOOTSTRAP -DBUILD2_HOST_TRIPLET=\"$(chost)\" $(CPPFLAGS) -std=c++1y $(CXXFLAGS) -o $@ -c $<
$(libbutl_out)/%.b.o: $(libbutl)/libbutl/%.cxx | $$(dir $$@).
- $(CXX) -I$(libbutl) $(CPPFLAGS) -std=c++1y $(CXXFLAGS) -o $@ -c $<
+ $(CXX) -I$(libbutl) -DBUILD2_BOOTSTRAP $(CPPFLAGS) -std=c++1y $(CXXFLAGS) -o $@ -c $<
.PRECIOUS: %/.
%/. :