From 579169d2070d51bebd685cabebff20b0482d57bc Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 21 Feb 2011 17:32:38 +0000 Subject: [PATCH] Make address-model affect gcc assembler compilations. Patch from Gevorg Voskanyan. [SVN r69123] --- src/tools/gcc.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 9cdcd1e51..ebd7a3c8e 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -575,8 +575,9 @@ actions compile.fortran "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } -rule compile.asm +rule compile.asm ( targets * : sources * : properties * ) { + setup-address-model $(targets) : $(sources) : $(properties) ; LANG on $(<) = "-x assembler-with-cpp" ; }