Changeset 13 for python


Ignore:
Timestamp:
Sep 12, 2010, 11:24:21 PM (15 years ago)
Author:
Yuri Dario
Message:

python: allows submodules to inherit python build flags, so they build with same options. fixes highmem in mercurial.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/distutils/sysconfig.py

    r10 r13  
    173173    varies across Unices and is stored in Python's Makefile.
    174174    """
    175     if compiler.compiler_type == "unix":
     175    if compiler.compiler_type == "unix" or compiler.compiler_type == "emx":
    176176        (cc, cxx, opt, cflags, ccshared, ldshared, so_ext) = \
    177177            get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
  • python/trunk/configure

    r10 r13  
    1333313333        CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
    1333413334        atheos*) LDSHARED="gcc -shared";;
    13335         OS/2*|os2*|*emx*) LDSHARED="gcc -Zdll -Zomf";;
     13335        OS/2*|os2*|*emx*) LDSHARED="${CC} ${LDFLAGS} -Zdll";;
    1333613336        *)      LDSHARED="ld";;
    1333713337        esac
Note: See TracChangeset for help on using the changeset viewer.