Ticket #2413: intel-fpic.diff

File intel-fpic.diff, 785 bytes (added by Vladimir Prus, 14 years ago)
  • intel-linux.jam

     
    7979flags intel-linux.compile OPTIONS <warnings>on : -w1 ;
    8080flags intel-linux.compile OPTIONS <warnings>all : -w2 ;
    8181
     82rule compile.c++ ( targets * : sources * : properties * )
     83{
     84    setup-fpic $(targets) : $(sources) : $(properties) ;
     85}
     86
    8287actions compile.c++
    8388{
    8489    "$(CONFIG_COMMAND)" -c -xc++ $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
    8590}
    8691
     92rule compile.c++ ( targets * : sources * : properties * )
     93{
     94    setup-fpic $(targets) : $(sources) : $(properties) ;
     95}
     96
    8797actions compile.c
    8898{
    8999    "$(CONFIG_COMMAND)" -c -xc $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"