diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 0f346a5015..e90088affd 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -500,6 +500,7 @@ if [ os.name ] = HPUX 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 ; @@ -647,7 +648,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 "$(<)" "$(>)" } # Class checking that we do not try to use the static property