@@ -27,7 +27,7 @@ private void Buildx64(BuildContext context)
2727 // since they would be set for the Windows side of things and not the mingw environment that everything is
2828 // running in. Instead, we'll build an export statement that can be used at the start of every process call to
2929 // ensure the correct environment variables are set for each command executed.
30- var cFlagsExport = "export CFLAGS='-w' -Wno-error=incompatible-pointer-types';" ;
30+ var cFlagsExport = "export CFLAGS='-w -Wno-error=incompatible-pointer-types';" ;
3131 var ccFlagsExport = "export CC='x86_64-w64-mingw32-gcc';" ;
3232 var cxxFlagsExport = "export CXX='x86_64-w64-mingw32-g++';" ;
3333 var ldFlagsExport = "export LDFLAGS='--static';" ;
@@ -117,8 +117,8 @@ private void Buildarm64(BuildContext context)
117117 // ensure the correct environment variables are set for each command executed.
118118 var depPathUnix = dependencyDir . FullPath . Replace ( "\\ " , "/" ) . Replace ( "C:" , "/c" ) ;
119119 var cFlagsExport = $ "export CFLAGS='-w -Wno-error=incompatible-pointer-types -I{ depPathUnix } /include';";
120- var ccFlagsExport = $ "export CC='x86_64 -w64-mingw32-gcc ;";
121- var cxxFlagsExport = $ "export CXX='x86_64 -w64-mingw32-g++ ;";
120+ var ccFlagsExport = $ "export CC='aarch64 -w64-mingw32-clang ;";
121+ var cxxFlagsExport = $ "export CXX='aarch64 -w64-mingw32-clang++' ;";
122122 var ldFlagsExport = $ "export LDFLAGS='--static -L{ depPathUnix } /lib';";
123123 var pathExport = "export PATH='/c/llvm-mingw/bin:/usr/bin:/mingw64/bin:$PATH';" ;
124124 var pkgConfigExport = $ "export PKG_CONFIG_PATH='{ depPathUnix } /lib/pkgconfig';";
0 commit comments