ALT Linux repos
Group :: Development/C++
RPM: boost
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: boost-1.57.0-alt-bjam-locate-target.patch
Download
Download
diff --git a/boost/tools/build/src/engine/build.jam b/boost/tools/build/src/engine/build.jam
index 0263d46..6497e45 100644
--- a/boost/tools/build/src/engine/build.jam
+++ b/boost/tools/build/src/engine/build.jam
@@ -460,30 +460,10 @@ if $(tool.$(toolset).link.cc)
--link-libs = $(tool.$(toolset).link.linklibs) ;
}
-# Put executables in platform-specific subdirectory.
+
+# There was some code to put executables in platform-specific subdirectory.
+# It was removed by iv@altlinx.org to make binary location predictable.
locate-target = $(LOCATE_TARGET) ;
-if $(OSPLAT)
-{
- locate-target ?= bin$(.)$(OS:L)$(OSPLAT:L) ;
- platform = $(OS:L)$(OSPLAT:L) ;
-}
-else
-{
- locate-target ?= bin$(.)$(OS:L) ;
- platform = $(OS:L) ;
-}
-if $(debug)
-{
- locate-target = [ .path $(locate-target)$(.)debug ] ;
-}
-if $(profile)
-{
- locate-target = [ .path $(locate-target)$(.)profile ] ;
-}
-else
-{
- locate-target = [ .path $(locate-target) ] ;
-}
if --show-locate-target in $(ARGV)
{