Tweak arm6 flags

release-v0.4.0.1
Howard Chu 9 years ago
parent 10cc6a8593
commit 94de39fbad

@ -284,7 +284,7 @@ if(MSVC)
else() else()
set(ARCH native CACHE STRING "CPU to build for: -march value or default") set(ARCH native CACHE STRING "CPU to build for: -march value or default")
# -march=armv7-a conflicts with -mcpu=cortex-a7 # -march=armv7-a conflicts with -mcpu=cortex-a7
if(ARCH STREQUAL "default" OR ARM7) if(ARCH STREQUAL "default" OR ARM7 OR ARM6)
set(ARCH_FLAG "") set(ARCH_FLAG "")
else() else()
if(ARCH STREQUAL "x86_64") if(ARCH STREQUAL "x86_64")

Loading…
Cancel
Save