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