From 910f19d0c225d2e785cc381c2f74d566850ed5f6 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Thu, 16 Apr 2009 16:46:05 +0000 Subject: [PATCH] Fix with appending flags --- build/Program.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Program.jam b/build/Program.jam index ca655db..3952916 100644 --- a/build/Program.jam +++ b/build/Program.jam @@ -29,8 +29,8 @@ rule MakeProgramPrivate objects = [ FGristFiles $(2:S=$(SUFOBJ)) ] ; # Pick up values if someone set flags outside (via ObjectCcFlags and etc.) - CCFLAGS on $(objects) += $(4) ; - C++FLAGS on $(objects) += $(4) ; + CCFLAGS on $(objects) = [ on $(objects) return $(CCFLAGS) ] $(4) ; + C++FLAGS on $(objects) = [ on $(objects) return $(C++FLAGS) ] $(4) ; if $(REMOVE_UNUSED_DEPENDENCIES_TRICK) = 1 { # remove unused dependencies in binaries, as U.Drepper prescribed ;-)