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

Properly add -fPIC on intel-linux.

[SVN r49357]
This commit is contained in:
Vladimir Prus
2008-10-16 11:09:46 +00:00
parent 14b0b1a6f5
commit b22902b143

View File

@@ -79,11 +79,21 @@ flags intel-linux.compile OPTIONS <warnings>off : -w0 ;
flags intel-linux.compile OPTIONS <warnings>on : -w1 ;
flags intel-linux.compile OPTIONS <warnings>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 "$(<)" "$(>)"