mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 14:38:05 +01:00
build-mingw-w64.sh: Build libstdc++v3 twice
The first build is missing a bunch of libc functions because libstdc++ is missing (obviously). Building again lets it find these libc functions and take better codepaths. This fixes D9VK performance regressions, for example in Rocket League.
This commit is contained in:
parent
4cc3856885
commit
0bdd04209c
1 changed files with 8 additions and 1 deletions
|
|
@ -120,12 +120,19 @@ function build_arch {
|
|||
popd
|
||||
|
||||
pushd gcc/
|
||||
#below steps require libgcc in default library location, but
|
||||
#next step requires libgcc in default library location, but
|
||||
#"canadian" build doesn't handle that, so install it explicitly
|
||||
PATH=$NEWPATH make configure-target-libgcc
|
||||
PATH=$NEWPATH make -C $WIN32_TARGET_ARCH/libgcc $JOBS
|
||||
PATH=$NEWPATH make -C $WIN32_TARGET_ARCH/libgcc $JOBS install
|
||||
|
||||
#install libstdc++ and other stuff
|
||||
PATH=$NEWPATH make $JOBS
|
||||
PATH=$NEWPATH make $JOBS install
|
||||
|
||||
#libstdc++ requires that libstdc++ is installed in order to find gettimeofday(???)
|
||||
#so, rebuild libstdc++ after installing it above
|
||||
PATH=$NEWPATH make $JOBS -C $WIN32_TARGET_ARCH/libstdc++-v3/ distclean
|
||||
PATH=$NEWPATH make $JOBS
|
||||
PATH=$NEWPATH make $JOBS install
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue