diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 7646d0e92..9e217e6ae 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -649,7 +649,7 @@ rule compile.asm ( targets * : sources * : properties * ) actions compile.asm { - "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" + "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } ### @@ -796,6 +796,7 @@ toolset.flags gcc.compile.c++ OPTIONS off : -fno-exceptions toolset.flags gcc.compile USER_OPTIONS ; toolset.flags gcc.compile.c++ USER_OPTIONS ; +toolset.flags gcc.compile.asm USER_OPTIONS ; toolset.flags gcc.compile DEFINES ; toolset.flags gcc.compile INCLUDES ; toolset.flags gcc.compile.c++ TEMPLATE_DEPTH ;