aboutsummaryrefslogtreecommitdiff
path: root/dev/libs/boost/boost_custom_jam_rule.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dev/libs/boost/boost_custom_jam_rule.diff')
-rw-r--r--dev/libs/boost/boost_custom_jam_rule.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev/libs/boost/boost_custom_jam_rule.diff b/dev/libs/boost/boost_custom_jam_rule.diff
new file mode 100644
index 0000000..49cd519
--- /dev/null
+++ b/dev/libs/boost/boost_custom_jam_rule.diff
@@ -0,0 +1,25 @@
+--- Jamroot 2008-03-25 21:47:24.000000000 +0100
++++ boost_1_35_0/Jamroot 2008-04-02 18:13:48.000000000 +0200
+@@ -127,7 +127,7 @@
+ # which builds only the "release <threading>multi <link>shared" variant.
+ local build-type = [ MATCH "^--build-type=(.*)" : [ modules.peek : ARGV ] ] ;
+ build-type ?= minimal ;
+-if ! ( $(build-type) in minimal complete )
++if ! ( $(build-type) in minimal complete custom )
+ {
+ build-type = minimal ;
+ }
+@@ -145,6 +145,13 @@
+ <link>shared <link>static
+ <runtime-link>shared <runtime-link>static
+ ;
++local default-build,custom =
++ release
++ <optimization>speed <inlining>full
++ <threading>single <threading>multi
++ <link>shared
++ <runtime-link>shared
++ ;
+
+ # Set the default build.
+ local default-build = $(default-build,$(build-type)) ;