targets/Linux/__init__.py
author laurent
Fri, 18 Nov 2011 17:33:19 +0100
changeset 639 85dad46ae0f6
parent 635 fcdb60cacb2c
child 642 cd7ccbbbf471
permissions -rwxr-xr-x
Fixing bug that prevent to use global variables in configuration
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"]