diff --git a/README.md b/README.md index 7ea3dfc51..f7e6e1f42 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ProxSpace comes with 2 different executables .bat files. ProxSpace will automatically download and update to the latest required packages. All tools will be contained within the ProxSpace folder, however **once ProxSpace is setup the ProxSpace folder must not be moved**. If you wish to have ProxSpace in a different directory, you need to reinstall it. ProxSpace is based on: - - msys2-x86_64-20200903 + - msys2-x86_64-20210215 Following packages will be automatically download or updated: - arm-none-eabi-gcc diff --git a/msys2/etc/localtime b/msys2/etc/localtime index 7f6d958f8..465546bd3 100644 Binary files a/msys2/etc/localtime and b/msys2/etc/localtime differ diff --git a/msys2/etc/makepkg_clang32.conf b/msys2/etc/makepkg_clang32.conf index a34885582..57edd6db8 100644 --- a/msys2/etc/makepkg_clang32.conf +++ b/msys2/etc/makepkg_clang32.conf @@ -48,7 +48,7 @@ CHOST="i686-w64-mingw32" # MINGW_CHOST="i686-w64-mingw32" MINGW_PREFIX="/clang32" -MINGW_PACKAGE_PREFIX="clang-mingw-w64-i686" +MINGW_PACKAGE_PREFIX="mingw-w64-clang-i686" # DirectX compatibility environment variable DXSDK_DIR=${MINGW_PREFIX}/${MINGW_CHOST} @@ -59,9 +59,7 @@ DXSDK_DIR=${MINGW_PREFIX}/${MINGW_CHOST} CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1" CFLAGS="-march=i686 -mtune=generic -O2 -pipe" CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe" -LDFLAGS="-pipe" -# Uncomment to enable hardening (ASLR, DEP) -#LDFLAGS="-pipe -Wl,--dynamicbase,--nxcompat" +LDFLAGS="-pipe -Wl,--dynamicbase,--no-seh" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j$(($(nproc)+1))" #-- Debugging flags diff --git a/msys2/etc/makepkg_clang64.conf b/msys2/etc/makepkg_clang64.conf index e5d259130..b7997be32 100644 --- a/msys2/etc/makepkg_clang64.conf +++ b/msys2/etc/makepkg_clang64.conf @@ -48,7 +48,7 @@ CHOST="x86_64-w64-mingw32" # MINGW_CHOST="x86_64-w64-mingw32" MINGW_PREFIX="/clang64" -MINGW_PACKAGE_PREFIX="clang-mingw-w64-x86_64" +MINGW_PACKAGE_PREFIX="mingw-w64-clang-x86_64" # DirectX compatibility environment variable DXSDK_DIR=${MINGW_PREFIX}/${MINGW_CHOST} @@ -59,9 +59,7 @@ DXSDK_DIR=${MINGW_PREFIX}/${MINGW_CHOST} CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" -LDFLAGS="-pipe" -# Uncomment to enable hardening (ASLR, High entropy ASLR, DEP) -#LDFLAGS="-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat" +LDFLAGS="-pipe -Wl,--dynamicbase" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j$(($(nproc)+1))" #-- Debugging flags diff --git a/msys2/etc/makepkg_mingw64.conf b/msys2/etc/makepkg_mingw64.conf index f210f1eb0..be189bca4 100644 --- a/msys2/etc/makepkg_mingw64.conf +++ b/msys2/etc/makepkg_mingw64.conf @@ -59,7 +59,7 @@ DXSDK_DIR=${MINGW_PREFIX}/${MINGW_CHOST} CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" -LDFLAGS="-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat" +LDFLAGS="-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high" # Uncomment to disable hardening (ASLR, High entropy ASLR, DEP) #LDFLAGS="-pipe" #-- Make Flags: change this for DistCC/SMP systems diff --git a/msys2/etc/msystem b/msys2/etc/msystem index a151ec8e9..a79cb5a01 100644 --- a/msys2/etc/msystem +++ b/msys2/etc/msystem @@ -43,6 +43,26 @@ case "${MSYSTEM}" in CONFIG_SITE="${MSYSTEM_PREFIX}/etc/config.site" export MSYSTEM_PREFIX MSYSTEM_CARCH MSYSTEM_CHOST MINGW_CHOST MINGW_PREFIX MINGW_PACKAGE_PREFIX CONFIG_SITE ;; + CLANG32) + MSYSTEM_PREFIX='/clang32' + MSYSTEM_CARCH='i686' + MSYSTEM_CHOST='i686-w64-mingw32' + MINGW_CHOST="${MSYSTEM_CHOST}" + MINGW_PREFIX="${MSYSTEM_PREFIX}" + MINGW_PACKAGE_PREFIX="mingw-w64-clang-${MSYSTEM_CARCH}" + CONFIG_SITE="${MSYSTEM_PREFIX}/etc/config.site" + export MSYSTEM_PREFIX MSYSTEM_CARCH MSYSTEM_CHOST MINGW_CHOST MINGW_PREFIX MINGW_PACKAGE_PREFIX CONFIG_SITE + ;; + CLANG64) + MSYSTEM_PREFIX='/clang64' + MSYSTEM_CARCH='x86_64' + MSYSTEM_CHOST='x86_64-w64-mingw32' + MINGW_CHOST="${MSYSTEM_CHOST}" + MINGW_PREFIX="${MSYSTEM_PREFIX}" + MINGW_PACKAGE_PREFIX="mingw-w64-clang-${MSYSTEM_CARCH}" + CONFIG_SITE="${MSYSTEM_PREFIX}/etc/config.site" + export MSYSTEM_PREFIX MSYSTEM_CARCH MSYSTEM_CHOST MINGW_CHOST MINGW_PREFIX MINGW_PACKAGE_PREFIX CONFIG_SITE + ;; *) MSYSTEM_PREFIX='/usr' MSYSTEM_CARCH="$(/usr/bin/uname -m)" diff --git a/msys2/etc/nanorc b/msys2/etc/nanorc new file mode 100644 index 000000000..be7ee23ae --- /dev/null +++ b/msys2/etc/nanorc @@ -0,0 +1,295 @@ +## Sample initialization file for GNU nano. +## +## For the options that take parameters, the default value is shown. +## Other options are unset by default. To make sure that an option +## is disabled, you can use "unset