targets/Linux/__init__.py
author Edouard Tisserant
Fri, 18 Nov 2011 23:54:03 +0100
changeset 641 b4eae24d05bf
parent 635 fcdb60cacb2c
child 642 cd7ccbbbf471
permissions -rwxr-xr-x
Fixed encoding of Beremiz_service.py
from .. 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"]