diff --git a/libs/boost/Makefile b/libs/boost/Makefile index aaace037a..d7ef97824 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -39,9 +39,9 @@ LIBRARIES:= \ serialization \ define Build/Compile - (cd $(PKG_BUILD_DIR) ; \ - echo "using gcc : : $(TOOLCHAIN_DIR)/usr/bin/$(GNU_TARGET_NAME)-gcc : $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) ;" > tools/build/v2/site-config.jam ; \ - $(STAGING_DIR_HOST)/usr/bin/bjam \ + ( cd $(PKG_BUILD_DIR) ; \ + echo "using gcc : : $(GNU_TARGET_NAME)-gcc : $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) ;" > tools/build/v2/site-config.jam ; \ + bjam \ '-sBUILD=release space on off' \ --toolset=gcc \ $(foreach c, $(LIBRARIES), \