targets/Linux/__init__.py
author Edouard Tisserant
Wed, 28 May 2014 11:50:38 +0200
changeset 1410 0d34b69cc9b5
parent 1279 0eb9f8af479f
child 1511 91538d0c242c
permissions -rwxr-xr-x
Propagated changes made in matiec/lib/accessor.h _SET_VAR macro (Mario's matiec changes merged at 39086e324665) to py_ext library, and other (not compiled in) XML standard FB definitions.
from ..toolchain_gcc import toolchain_gcc

class Linux_target(toolchain_gcc):
    dlopen_prefix = "./"
    extension = ".so"
    def getBuilderCFLAGS(self):
        return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
    def getBuilderLDFLAGS(self):
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lrt"]