targets/Linux/__init__.py
changeset 1736 7e61baa047f0
parent 1511 91538d0c242c
child 1751 c28db6f7616b
equal deleted inserted replaced
1735:c02818d7e29f 1736:7e61baa047f0
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
    25 from ..toolchain_gcc import toolchain_gcc
    25 from ..toolchain_gcc import toolchain_gcc
    26 
    26 
       
    27 
    27 class Linux_target(toolchain_gcc):
    28 class Linux_target(toolchain_gcc):
    28     dlopen_prefix = "./"
    29     dlopen_prefix = "./"
    29     extension = ".so"
    30     extension = ".so"
    30     def getBuilderCFLAGS(self):
    31     def getBuilderCFLAGS(self):
    31         return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]
    32         return toolchain_gcc.getBuilderCFLAGS(self) + ["-fPIC"]