diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-07-16 13:31:11 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-07-16 13:31:11 (GMT) |
commit | bac1ea937e944a27644777d4522d929890922840 (patch) | |
tree | afa5131692c8d08996a1b2d00b2fa625f24e1449 /PC/os2emx/Makefile | |
parent | d24c767d5b3e8bbcfe7c9185f71a954df49c18c3 (diff) | |
download | cpython-bac1ea937e944a27644777d4522d929890922840.zip cpython-bac1ea937e944a27644777d4522d929890922840.tar.gz cpython-bac1ea937e944a27644777d4522d929890922840.tar.bz2 |
More pre-2.3 build tweaks for the OS/2 EMX port:
- more clean up of the generated import library definiton (.DEF file)
following checking of patch 770521, and tightening of the sed regexps.
- use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth
nothing with 2.2.x.
- clean up a couple of whitespace issues introduced by a cut'n'paste.
Diffstat (limited to 'PC/os2emx/Makefile')
-rw-r--r-- | PC/os2emx/Makefile | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile index 296200b..fae7fb4 100644 --- a/PC/os2emx/Makefile +++ b/PC/os2emx/Makefile @@ -91,7 +91,7 @@ ifeq ($(MODE),debug) CFLAGS+= -g -O LDFLAGS+= -g else - CFLAGS+= -s -O2 -fomit-frame-pointer + CFLAGS+= -s -O3 -fomit-frame-pointer LDFLAGS+= -s endif CFLAGS+= $(PY_DEF) @@ -515,28 +515,16 @@ $(PYTHON.DEF): $(PYTHON.LIB) @echo DATA MULTIPLE NONSHARED >>$@ @echo EXPORTS >>$@ $(EXPLIB) -u $(PYTHON.LIB) |\ - sed -e "/ .init.*/s/^ /; /" \ - -e "/ .pcre_.*/s/^ /; /" \ - -e "/ .array_methods/s/^ /; /" \ - -e "/ .fast_save_leave/s/^ /; /" \ - -e "/ .dlopen/s/^ /; /" \ - -e "/ .dlsym/s/^ /; /" \ - -e "/ .dlclose/s/^ /; /" \ - -e "/ .dlerror/s/^ /; /" \ - -e "/ .cycle_type/s/^ /; /" \ - -e "/ .dropwhile_type/s/^ /; /" \ - -e "/ .takewhile_type/s/^ /; /" \ - -e "/ .islice_type/s/^ /; /" \ - -e "/ .starmap_type/s/^ /; /" \ - -e "/ .imap_type/s/^ /; /" \ - -e "/ .chain_type/s/^ /; /" \ - -e "/ .ifilter_type/s/^ /; /" \ - -e "/ .ifilterfalse_type/s/^ /; /" \ - -e "/ .count_type/s/^ /; /" \ - -e "/ .izip_type/s/^ /; /" \ - -e "/ .repeat_type/s/^ /; /" \ - -e "/ ._Py_re_.*/s/^ /; /" \ - -e "/ ._Py_MD5.*/s/^ /; /" >>$@ + sed -e "/^ .init.*/s/^ /; /" \ + -e "/^ .pcre_.*/s/^ /; /" \ + -e "/^ .array_methods/s/^ /; /" \ + -e "/^ .fast_save_leave/s/^ /; /" \ + -e "/^ .dlopen/s/^ /; /" \ + -e "/^ .dlsym/s/^ /; /" \ + -e "/^ .dlclose/s/^ /; /" \ + -e "/^ .dlerror/s/^ /; /" \ + -e "/^ ._Py_re_.*/s/^ /; /" \ + -e "/^ ._Py_MD5.*/s/^ /; /" >>$@ $(PYTHON.IMPLIB): $(PYTHON.DEF) $(IMPLIB) -o $@ $^ |