targets/Linux/__init__.py
author Edouard Tisserant
Mon, 21 Nov 2011 11:40:29 +0100
changeset 644 b511cab580eb
parent 642 cd7ccbbbf471
child 1279 0eb9f8af479f
permissions -rwxr-xr-x
Better naming of IP address related variables in Beremiz_service.py, Ignore errors that occur on shutdown in Zeroconf.py, fixed discovery dialog crash due to asynchronous call from zeroconf
642
cd7ccbbbf471 various cleanups in /targets
Edouard Tisserant
parents: 635
diff changeset
     1
from ..toolchain_gcc import toolchain_gcc
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     2
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     3
class Linux_target(toolchain_gcc):
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     4
    extension = ".so"
635
fcdb60cacb2c added -fPIC to satisfy X86_64 build
Edouard Tisserant
parents: 290
diff changeset
     5
    def getBuilderCFLAGS(self):
fcdb60cacb2c added -fPIC to satisfy X86_64 build
Edouard Tisserant
parents: 290
diff changeset
     6
        return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
290
3bd617ae7a05 Local Runtime (LOCAL://) now launched "on demand"
etisserant
parents: 229
diff changeset
     7
    def getBuilderLDFLAGS(self):
3bd617ae7a05 Local Runtime (LOCAL://) now launched "on demand"
etisserant
parents: 229
diff changeset
     8
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"]