targets/Linux/__init__.py
author Edouard Tisserant
Sat, 19 Nov 2011 21:52:34 +0100
changeset 642 cd7ccbbbf471
parent 635 fcdb60cacb2c
child 1279 0eb9f8af479f
permissions -rwxr-xr-x
various cleanups in /targets
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"]