|
17 | 17 | 'BINLIBDEST': '/mingw32/lib/python3.10', |
18 | 18 | 'BLDLIBRARY': '-L. -lpython3.10', |
19 | 19 | 'BLDSHARED': 'gcc -shared -Wl,--enable-auto-image-base -pipe -Wl,--no-seh ' |
20 | | - '-pipe -Wl,--no-seh', |
| 20 | + '-Wl,--large-address-aware -pipe -Wl,--no-seh ' |
| 21 | + '-Wl,--large-address-aware', |
21 | 22 | 'BUILDEXE': '.exe', |
22 | 23 | 'BUILDPYTHON': 'python.exe', |
23 | 24 | 'BUILDPYTHONW': 'pythonw.exe', |
|
28 | 29 | 'CC': 'gcc', |
29 | 30 | 'CCSHARED': '', |
30 | 31 | 'CFLAGS': '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall ' |
31 | | - '-march=pentium4 -mtune=generic -O2 -pipe -O3 -march=pentium4 ' |
32 | | - '-mtune=generic -O2 -pipe -O3', |
| 32 | + '-march=pentium4 -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 ' |
| 33 | + '-fstack-protector-strong -O3 -march=pentium4 -mtune=generic -O2 ' |
| 34 | + '-pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3', |
33 | 35 | 'CFLAGSFORSHARED': '', |
34 | 36 | 'CFLAGS_ALIASING': '', |
35 | 37 | 'CONFIGFILES': 'configure configure.ac acconfig.h pyconfig.h.in ' |
36 | 38 | 'Makefile.pre.in', |
37 | | - 'CONFIGURE_CFLAGS': '-march=pentium4 -mtune=generic -O2 -pipe -O3', |
| 39 | + 'CONFIGURE_CFLAGS': '-march=pentium4 -mtune=generic -O2 -pipe ' |
| 40 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3', |
38 | 41 | 'CONFIGURE_CFLAGS_NODIST': '-fno-semantic-interposition -std=c99 -Wextra ' |
39 | 42 | '-Wno-unused-result -Wno-unused-parameter ' |
40 | 43 | '-Wno-missing-field-initializers ' |
|
44 | 47 | '-DPY3_DLLNAME=\'L"libpython3.10.dll"\' ' |
45 | 48 | '-DMS_DLL_ID=\'"3.10-32"\'', |
46 | 49 | 'CONFIGURE_CPPFLAGS': '-I../Python-3.10.8/PC -D__USE_MINGW_ANSI_STDIO=1 -I.', |
47 | | - 'CONFIGURE_LDFLAGS': '-pipe -Wl,--no-seh', |
| 50 | + 'CONFIGURE_LDFLAGS': '-pipe -Wl,--no-seh -Wl,--large-address-aware', |
48 | 51 | 'CONFIGURE_LDFLAGS_NODIST': '-fno-semantic-interposition', |
49 | 52 | 'CONFIG_ARGS': "'--prefix=/mingw32' '--host=i686-w64-mingw32' " |
50 | 53 | "'--build=i686-w64-mingw32' '--enable-shared' " |
|
54 | 57 | "'--with-tzpath=/mingw32/share/zoneinfo' " |
55 | 58 | "'--enable-optimizations' 'build_alias=i686-w64-mingw32' " |
56 | 59 | "'host_alias=i686-w64-mingw32' 'CC=gcc' " |
57 | | - "'CFLAGS=-march=pentium4 -mtune=generic -O2 -pipe -O3' " |
58 | | - "'LDFLAGS=-pipe -Wl,--no-seh' " |
| 60 | + "'CFLAGS=-march=pentium4 -mtune=generic -O2 -pipe " |
| 61 | + "-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3' " |
| 62 | + "'LDFLAGS=-pipe -Wl,--no-seh -Wl,--large-address-aware' " |
59 | 63 | "'CPPFLAGS=-D__USE_MINGW_ANSI_STDIO=1' " |
60 | 64 | "'PKG_CONFIG_PATH=/mingw32/lib/pkgconfig:/mingw32/share/pkgconfig'", |
61 | 65 | 'CONFINCLUDEDIR': '/mingw32/include', |
|
559 | 563 | 'IO_H': 'Modules/_io/_iomodule.h', |
560 | 564 | 'IO_OBJS': '\\', |
561 | 565 | 'LDCXXSHARED': 'g++ -shared -Wl,--enable-auto-image-base', |
562 | | - 'LDFLAGS': '-pipe -Wl,--no-seh -pipe -Wl,--no-seh', |
| 566 | + 'LDFLAGS': '-pipe -Wl,--no-seh -Wl,--large-address-aware -pipe -Wl,--no-seh ' |
| 567 | + '-Wl,--large-address-aware', |
563 | 568 | 'LDLIBRARY': 'libpython3.10.dll.a', |
564 | 569 | 'LDLIBRARYDIR': '', |
565 | 570 | 'LDSHARED': 'gcc -shared -Wl,--enable-auto-image-base -pipe -Wl,--no-seh ' |
566 | | - '-pipe -Wl,--no-seh', |
| 571 | + '-Wl,--large-address-aware -pipe -Wl,--no-seh ' |
| 572 | + '-Wl,--large-address-aware', |
567 | 573 | 'LDVERSION': '3.10', |
568 | 574 | 'LIBC': '', |
569 | 575 | 'LIBDEST': '/mingw32/lib/python3.10', |
570 | 576 | 'LIBDIR': '/mingw32/lib', |
571 | | - 'LIBFFI_INCLUDEDIR': 'D:/a/msys64/mingw32/include', |
| 577 | + 'LIBFFI_INCLUDEDIR': '', |
572 | 578 | 'LIBM': '-lm', |
573 | 579 | 'LIBOBJDIR': 'Python/', |
574 | 580 | 'LIBOBJS': '', |
|
627 | 633 | 'NO_AS_NEEDED': '-Wl,--no-as-needed', |
628 | 634 | 'NT_THREADS': 1, |
629 | 635 | 'OBJECT_OBJS': '\\', |
630 | | - 'OPENSSL_INCLUDES': '-ID:/a/msys64/mingw32/include', |
631 | | - 'OPENSSL_LDFLAGS': '-LD:/a/msys64/mingw32/lib', |
| 636 | + 'OPENSSL_INCLUDES': '', |
| 637 | + 'OPENSSL_LDFLAGS': '', |
632 | 638 | 'OPENSSL_LIBS': '-lssl -lcrypto', |
633 | 639 | 'OPENSSL_RPATH': '', |
634 | 640 | 'OPT': '-DNDEBUG -g -fwrapv -O3 -Wall', |
|
668 | 674 | 'PY_BUILTIN_HASHLIB_HASHES': '"md5,sha1,sha256,sha512,sha3,blake2"', |
669 | 675 | 'PY_BUILTIN_MODULE_CFLAGS': '-Wno-unused-result -Wsign-compare -DNDEBUG -g ' |
670 | 676 | '-fwrapv -O3 -Wall -march=pentium4 -mtune=generic ' |
671 | | - '-O2 -pipe -O3 -march=pentium4 -mtune=generic -O2 ' |
672 | | - '-pipe -O3 -fno-semantic-interposition -std=c99 ' |
673 | | - '-Wextra -Wno-unused-result -Wno-unused-parameter ' |
| 677 | + '-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 ' |
| 678 | + '-fstack-protector-strong -O3 -march=pentium4 ' |
| 679 | + '-mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 ' |
| 680 | + '-fstack-protector-strong -O3 ' |
| 681 | + '-fno-semantic-interposition -std=c99 -Wextra ' |
| 682 | + '-Wno-unused-result -Wno-unused-parameter ' |
674 | 683 | '-Wno-missing-field-initializers ' |
675 | 684 | '-Wstrict-prototypes ' |
676 | 685 | '-Werror=implicit-function-declaration ' |
|
685 | 694 | '-D__USE_MINGW_ANSI_STDIO=1 ' |
686 | 695 | '-DPy_BUILD_CORE_BUILTIN', |
687 | 696 | 'PY_CFLAGS': '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall ' |
688 | | - '-march=pentium4 -mtune=generic -O2 -pipe -O3 -march=pentium4 ' |
689 | | - '-mtune=generic -O2 -pipe -O3', |
| 697 | + '-march=pentium4 -mtune=generic -O2 -pipe ' |
| 698 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3 ' |
| 699 | + '-march=pentium4 -mtune=generic -O2 -pipe ' |
| 700 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3', |
690 | 701 | 'PY_CFLAGS_NODIST': '-fno-semantic-interposition -std=c99 -Wextra ' |
691 | 702 | '-Wno-unused-result -Wno-unused-parameter ' |
692 | 703 | '-Wno-missing-field-initializers -Wstrict-prototypes ' |
|
697 | 708 | '-fprofile-correction -I../Python-3.10.8/Include/internal', |
698 | 709 | 'PY_COERCE_C_LOCALE': 0, |
699 | 710 | 'PY_CORE_CFLAGS': '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 ' |
700 | | - '-Wall -march=pentium4 -mtune=generic -O2 -pipe -O3 ' |
701 | | - '-march=pentium4 -mtune=generic -O2 -pipe -O3 ' |
| 711 | + '-Wall -march=pentium4 -mtune=generic -O2 -pipe ' |
| 712 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3 ' |
| 713 | + '-march=pentium4 -mtune=generic -O2 -pipe ' |
| 714 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3 ' |
702 | 715 | '-fno-semantic-interposition -std=c99 -Wextra ' |
703 | 716 | '-Wno-unused-result -Wno-unused-parameter ' |
704 | 717 | '-Wno-missing-field-initializers -Wstrict-prototypes ' |
|
711 | 724 | '-I../Python-3.10.8/Include -I../Python-3.10.8/PC ' |
712 | 725 | '-D__USE_MINGW_ANSI_STDIO=1 -I. -D__USE_MINGW_ANSI_STDIO=1 ' |
713 | 726 | '-DPy_BUILD_CORE', |
714 | | - 'PY_CORE_LDFLAGS': '-pipe -Wl,--no-seh -pipe -Wl,--no-seh ' |
| 727 | + 'PY_CORE_LDFLAGS': '-pipe -Wl,--no-seh -Wl,--large-address-aware -pipe ' |
| 728 | + '-Wl,--no-seh -Wl,--large-address-aware ' |
715 | 729 | '-fno-semantic-interposition', |
716 | 730 | 'PY_CPPFLAGS': '-IObjects -IInclude -IPython -I. -I../Python-3.10.8/Include ' |
717 | 731 | '-I../Python-3.10.8/PC -D__USE_MINGW_ANSI_STDIO=1 -I. ' |
718 | 732 | '-D__USE_MINGW_ANSI_STDIO=1', |
719 | 733 | 'PY_ENABLE_SHARED': 1, |
720 | 734 | 'PY_FORMAT_SIZE_T': '"z"', |
721 | | - 'PY_LDFLAGS': '-pipe -Wl,--no-seh -pipe -Wl,--no-seh', |
| 735 | + 'PY_LDFLAGS': '-pipe -Wl,--no-seh -Wl,--large-address-aware -pipe ' |
| 736 | + '-Wl,--no-seh -Wl,--large-address-aware', |
722 | 737 | 'PY_LDFLAGS_NODIST': '-fno-semantic-interposition', |
723 | 738 | 'PY_SSL_DEFAULT_CIPHERS': 1, |
724 | 739 | 'PY_SSL_DEFAULT_CIPHER_STRING': 0, |
725 | 740 | 'PY_STDMODULE_CFLAGS': '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv ' |
726 | 741 | '-O3 -Wall -march=pentium4 -mtune=generic -O2 -pipe ' |
727 | | - '-O3 -march=pentium4 -mtune=generic -O2 -pipe -O3 ' |
| 742 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3 ' |
| 743 | + '-march=pentium4 -mtune=generic -O2 -pipe ' |
| 744 | + '-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -O3 ' |
728 | 745 | '-fno-semantic-interposition -std=c99 -Wextra ' |
729 | 746 | '-Wno-unused-result -Wno-unused-parameter ' |
730 | 747 | '-Wno-missing-field-initializers -Wstrict-prototypes ' |
|
0 commit comments