x86: remove unnecessary c flag
All i really wanted to do is prevent accidentally using floats, but the -mgeneral-regs-only option seemed a little overkill and clang ignored it anyway, so there is little use for it other than emitting noisy compile warnings.
This commit is contained in:
parent
8129518640
commit
3e2bf39ff5
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ set(CMAKE_RANLIB ${TOOLCHAIN_PATH}/${CMAKE_EXECUTABLE_PREFIX}ranlib${CMAK
|
|||
set(CMAKE_SZE ${TOOLCHAIN_PATH}/${CMAKE_EXECUTABLE_PREFIX}szr${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")
|
||||
set(CMAKE_STRIP ${TOOLCHAIN_PATH}/${CMAKE_EXECUTABLE_PREFIX}strip${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -target i686-none -m32 -mgeneral-regs-only")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -target i686-none -m32")
|
||||
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -target i686-none -m32")
|
||||
|
||||
configure_file(
|
||||
|
|
Loading…
Reference in a new issue