diff --git a/phases/40-gnustep-corebase.sh b/phases/40-gnustep-corebase.sh index 5b081ca..e1abe4c 100755 --- a/phases/40-gnustep-corebase.sh +++ b/phases/40-gnustep-corebase.sh @@ -26,7 +26,7 @@ echo "### Running configure" CC="`gnustep-config --variable=CC`" \ CPP="`gnustep-config --variable=CPP`" \ CXX="`gnustep-config --variable=CXX`" \ - CFLAGS="$CFLAGS -I$UNIX_INSTALL_PREFIX/include" \ + CFLAGS="$CFLAGS -I$UNIX_INSTALL_PREFIX/include -D_UCRT_NOISY_NAN" `# define _UCRT_NOISY_NAN to work around https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907` \ CPPFLAGS="$CPPFLAGS -I$UNIX_INSTALL_PREFIX/include" \ LDFLAGS="$LDFLAGS -L$UNIX_INSTALL_PREFIX/lib" \