2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 00:12:11 +00:00

Merge pull request #193 from mattyclarkson/asmflags-gcc

Allow asmflags to pass through to GCC
This commit is contained in:
Rene Rivera
2017-09-07 14:15:17 -05:00
committed by GitHub

View File

@@ -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 <exception-handling>off : -fno-exceptions
toolset.flags gcc.compile USER_OPTIONS <cflags> ;
toolset.flags gcc.compile.c++ USER_OPTIONS <cxxflags> ;
toolset.flags gcc.compile.asm USER_OPTIONS <asmflags> ;
toolset.flags gcc.compile DEFINES <define> ;
toolset.flags gcc.compile INCLUDES <include> ;
toolset.flags gcc.compile.c++ TEMPLATE_DEPTH <c++-template-depth> ;