From dabd8d245b98917d5a1b46c6b916fc39478be4d2 Mon Sep 17 00:00:00 2001 From: Tim O'Haver <64042475+timohaver@users.noreply.github.com> Date: Wed, 3 Mar 2021 12:17:23 -0500 Subject: [PATCH] text revision for US English spelling (#2832) flavour -> flavor --- .../building_on_windows_with_sfu_(interix)/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/developer_guide/build_instructions/building_on_windows_with_sfu_(interix)/index.html b/files/en-us/mozilla/developer_guide/build_instructions/building_on_windows_with_sfu_(interix)/index.html index 61bc769ee3d1216..4c41a28d8d10acd 100644 --- a/files/en-us/mozilla/developer_guide/build_instructions/building_on_windows_with_sfu_(interix)/index.html +++ b/files/en-us/mozilla/developer_guide/build_instructions/building_on_windows_with_sfu_(interix)/index.html @@ -242,7 +242,7 @@

Sample .profile

export NSDISTMODE=copy

Sample .mozconfig

-

By default, configure will detect SFU as a flavour of NetBSD, so we need to tell it that we want a Windows build target. We have to add -NOLOGO to the flags because some of the configure tests don't expect compiler output, but the version test does. If you are using a recent SDK then you need the -NODEFAULTLIB:atlthunk to work around the #pragma in atlbase.h but older SDKs (such as the one provided with the full version of VC7.1) do not have this problem. We need to define the host compilers because otherwise configure assumes they are the same as the cross compilers. We need to define -DGETCWD_CANT_MALLOC because nsinstall expects it.

+

By default, configure will detect SFU as a flavor of NetBSD, so we need to tell it that we want a Windows build target. We have to add -NOLOGO to the flags because some of the configure tests don't expect compiler output, but the version test does. If you are using a recent SDK then you need the -NODEFAULTLIB:atlthunk to work around the #pragma in atlbase.h but older SDKs (such as the one provided with the full version of VC7.1) do not have this problem. We need to define the host compilers because otherwise configure assumes they are the same as the cross compilers. We need to define -DGETCWD_CANT_MALLOC because nsinstall expects it.

export CROSS_COMPILE=1
 export CC=cl
 export CXX=cl