2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +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 4bb1ca41e9
commit 2723da9acd

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 "$(<)" "$(>)"