1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Flags for ARM

This commit is contained in:
Anthony Arnold 2014-09-18 01:04:58 +10:00
parent 4c2b0fbc45
commit 2478a43b0a

View File

@ -859,7 +859,7 @@ if (NOT ARCH_COMPILER_FLAGS)
set(ARCH_COMPILER_FLAGS "-mtune=generic")
endif(IS_ARM)
else(ENABLE_GENERIC_ARCH)
if (IS_ARM)
if (IS_ARM) # ARM-specific options (https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html)
if (ARM_VERSION STREQUAL "arm")
# Unknown arm version - try our best to detect
set(ARCH_COMPILER_FLAGS "-mcpu=native")