equal
deleted
inserted
replaced
22 # along with this program; if not, write to the Free Software |
22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
25 from ..toolchain_gcc import toolchain_gcc |
25 from ..toolchain_gcc import toolchain_gcc |
26 |
26 |
|
27 |
27 class Linux_target(toolchain_gcc): |
28 class Linux_target(toolchain_gcc): |
28 dlopen_prefix = "./" |
29 dlopen_prefix = "./" |
29 extension = ".so" |
30 extension = ".so" |
|
31 |
30 def getBuilderCFLAGS(self): |
32 def getBuilderCFLAGS(self): |
31 return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"] |
33 return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"] |
|
34 |
32 def getBuilderLDFLAGS(self): |
35 def getBuilderLDFLAGS(self): |
33 return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"] |
36 return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"] |