currently there is an issue with `crt-static` option being uncontrollable for windows-gnu targets: . this behavour is bad because libunwind.dll is linked by default for windows-gnullvm, but no gcc dynamic libs are linked in case of windows-gnu. I tried to use bootstrap.toml option, but it doesn't do what is expected. this change should be temp before the issue is fixed. this flag can be changed in case of package which has cc-libs as their dependency anyway. I'll block some rust updates/additions before this is merged
13 lines
413 B
Plaintext
13 lines
413 B
Plaintext
CARCH="x86_64"
|
|
CHOST="x86_64-w64-mingw32"
|
|
MINGW_CHOST="x86_64-w64-mingw32"
|
|
MINGW_PREFIX="/clang64"
|
|
MINGW_PACKAGE_PREFIX="mingw-w64-clang-x86_64"
|
|
CC="clang"
|
|
CXX="clang++"
|
|
CPPFLAGS=
|
|
CFLAGS="-march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1"
|
|
CXXFLAGS="$CFLAGS"
|
|
LDFLAGS=""
|
|
RUSTFLAGS="-Cforce-frame-pointers=yes -Ctarget-feature=+crt-static"
|