targets/Linux/__init__.py
author Laurent Bessard
Tue, 28 May 2013 10:03:41 +0200
changeset 1178 3e2aebc9c7c0
parent 642 cd7ccbbbf471
child 1279 0eb9f8af479f
permissions -rwxr-xr-x
Fixed search highlight bug in ST and Code text editors
from ..toolchain_gcc import toolchain_gcc

class Linux_target(toolchain_gcc):
    extension = ".so"
    def getBuilderCFLAGS(self):
        return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
    def getBuilderLDFLAGS(self):
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"]