Added BuildPlatformStaticLibraryPIC rule.
It works like BuildPlatformStaticLibrary, but generates position independent code.
This commit is contained in:
parent
e89f127b9e
commit
a235c39ee4
@ -724,3 +724,12 @@ rule BuildPlatformStaticLibrary lib : sources : otherObjects
|
||||
StaticLibrary $(lib) : $(sources) : $(otherObjects) ;
|
||||
}
|
||||
|
||||
rule BuildPlatformStaticLibraryPIC target : sources : otherObjects
|
||||
{
|
||||
# Like BuildPlatformStaticLibrary, but producing position independent code.
|
||||
|
||||
ObjectCcFlags $(sources) : $(HOST_PIC_CCFLAGS) ;
|
||||
ObjectC++Flags $(sources) : $(HOST_PIC_C++FLAGS) ;
|
||||
|
||||
BuildPlatformStaticLibrary $(target) : $(sources) : $(otherObjects) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user