Compilation: Correct the gcc location for compilation in 32bit on a 64bit machine

This commit is contained in:
Henry
2011-04-12 11:49:02 +01:00
parent 358be80629
commit 9e6f7b70e9
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ case Linux:
case x86_64:
switch ($WM_ARCH_OPTION)
case 32:
setenv WM_COMPILER_ARCH '-64'
setenv WM_COMPILER_ARCH 64
setenv WM_CC 'gcc'
setenv WM_CXX 'g++'
setenv WM_CFLAGS '-m32 -fPIC'

View File

@ -76,7 +76,7 @@ Linux)
x86_64)
case "$WM_ARCH_OPTION" in
32)
export WM_COMPILER_ARCH='-64'
export WM_COMPILER_ARCH=64
export WM_CC='gcc'
export WM_CXX='g++'
export WM_CFLAGS='-m32 -fPIC'