diff --git a/src/tools/intel-linux.jam b/src/tools/intel-linux.jam index 7a29e4a00..adce18564 100644 --- a/src/tools/intel-linux.jam +++ b/src/tools/intel-linux.jam @@ -79,11 +79,21 @@ flags intel-linux.compile OPTIONS off : -w0 ; flags intel-linux.compile OPTIONS on : -w1 ; flags intel-linux.compile OPTIONS all : -w2 ; +rule compile.c++ ( targets * : sources * : properties * ) +{ + gcc.setup-fpic $(targets) : $(sources) : $(properties) ; +} + actions compile.c++ { "$(CONFIG_COMMAND)" -c -xc++ $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } +rule compile.c++ ( targets * : sources * : properties * ) +{ + gcc.setup-fpic $(targets) : $(sources) : $(properties) ; +} + actions compile.c { "$(CONFIG_COMMAND)" -c -xc $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"