$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r49694 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-11-12 02:26:24
Author: vladimir_prus
Date: 2008-11-12 02:26:24 EST (Wed, 12 Nov 2008)
New Revision: 49694
URL: http://svn.boost.org/trac/boost/changeset/49694
Log:
Include options specified with cflags/cxxflags when compiling PCH.
Suggested by J. van der Wulp.
Text files modified: 
   trunk/tools/build/v2/tools/gcc.jam |     4 ++--                                    
   1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/tools/gcc.jam
==============================================================================
--- trunk/tools/build/v2/tools/gcc.jam	(original)
+++ trunk/tools/build/v2/tools/gcc.jam	2008-11-12 02:26:24 EST (Wed, 12 Nov 2008)
@@ -373,7 +373,7 @@
 
 actions compile.c++.pch
 {
-    "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
+    "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
 }
 
 rule compile.c.pch ( targets * : sources * : properties * )
@@ -384,7 +384,7 @@
 
 actions compile.c.pch
 {
-    "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
+    "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
 }
 
 rule compile.c++ ( targets * : sources * : properties * )