equal
deleted
inserted
replaced
1 from ..toolchain_gcc import toolchain_gcc |
1 from ..toolchain_gcc import toolchain_gcc |
2 |
2 |
3 class Linux_target(toolchain_gcc): |
3 class Linux_target(toolchain_gcc): |
|
4 dlopen_prefix = "./" |
4 extension = ".so" |
5 extension = ".so" |
5 def getBuilderCFLAGS(self): |
6 def getBuilderCFLAGS(self): |
6 return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"] |
7 return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"] |
7 def getBuilderLDFLAGS(self): |
8 def getBuilderLDFLAGS(self): |
8 return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"] |
9 return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"] |