Remove -march argument on x86_64 build option.

GCC doesn't support pentium4 as a arch target for x86_64. It complains that the architecture doesn't support x86_64
Which to be fair the first few models didn't support 64bit.
Just remove the architecture setting since there isn't a need for it.
This commit is contained in:
Ryan Houdek 2014-07-11 14:32:17 -05:00
parent a6d8b3b847
commit 1f188b2610
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ if(_ARCH_64 AND 64BIT_BUILD)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(ARCH_FLAG "-m64 -msse -msse2 -march=pentium4")
set(ARCH_FLAG "-m64 -msse -msse2")
add_definitions(-D_ARCH_64=1)
else()
message("Compiling 32bit build on 32/64bit architecture")