Stasik0 10 anos atrás
pai
commit
812218c113
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2 4
      cmake/Toolchain-gcc-m32.cmake

+ 2 - 4
cmake/Toolchain-gcc-m32.cmake

@@ -2,10 +2,8 @@
 set(CMAKE_SYSTEM_NAME Linux)
 set(CMAKE_SYSTEM_NAME Linux)
 
 
 # which compilers to use for C and C++
 # which compilers to use for C and C++
-set(CMAKE_C_COMPILER gcc)
-set(CMAKE_C_FLAGS -m32)
-set(CMAKE_CXX_COMPILER g++)
-set(CMAKE_CXX_FLAGS -m32)
+set(CMAKE_C_COMPILER gcc -m32)
+set(CMAKE_CXX_COMPILER g++ -m32)
 
 
 # here is the target environment located
 # here is the target environment located
 set(CMAKE_FIND_ROOT_PATH   /usr/lib32 )
 set(CMAKE_FIND_ROOT_PATH   /usr/lib32 )