targets/Linux/__init__.py
author laurent
Wed, 29 Aug 2012 19:26:40 +0200
changeset 807 17c97fec1164
parent 642 cd7ccbbbf471
child 1279 0eb9f8af479f
permissions -rwxr-xr-x
Fix import order in Beremiz.py to prevent wrong translations in internationalization
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"]