From 236497a013790c879e9e798bd68083252b43b057 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Aug 2018 17:41:32 +0200 Subject: Define BUILD2_BOOTSTRAP when compiling libbutl sources --- bootstrap.gmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: %/. %/. : -- cgit v1.1