]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
etc/bld: allow specifying x32 for x86 builds
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Jan 2010 19:00:38 +0000 (19:00 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Jan 2010 19:00:38 +0000 (19:00 +0000)
To make it easier on the user, allow specifying a 32-bit build
using x32 or x86.  x32 is more natural with x64 being the
64-bit build.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2648 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/etc/bldwo.bat

index ba5cf1b5d211344f294d8823b1193e048fdd82a2..8f8b02958a028aa93255e4cfd59ad75feb579ff9 100644 (file)
@@ -20,6 +20,10 @@ if "%2"=="x86" (
        set wo_arch=x86\r
        goto set_os\r
 )\r
+if "%2"=="x32" (\r
+       set wo_arch=x86\r
+       goto set_os\r
+)\r
 if "%2"=="x64" (\r
        set wo_arch=x64\r
        goto set_os\r
@@ -44,7 +48,7 @@ if "%3"=="2008" (
        goto set_bld\r
 )\r
 if "%3"=="xp" (\r
-       if not "%2"=="x86" goto use\r
+       if not "%2"=="x86" if not "%2"=="x32" goto use\r
        set wo_os=WXP\r
        set wo_arch=\r
        goto set_bld\r