Skip to content

Commit 8bff51d

Browse files
authored
Merge pull request #14311 from hugueskamba/hk_cmake_fix_cortex_a9_gcc
CMake: Fix Cortex-A9 builds with GCC_ARM
2 parents 778f833 + 261deae commit 8bff51d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/cmake/cores/Cortex-A9.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Copyright (c) 2020 ARM Limited. All rights reserved.
1+
# Copyright (c) 2020-2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
55
list(APPEND common_options
66
"-mthumb-interwork"
77
"-marm"
8+
"-march=armv7-a"
89
"-mfpu=vfpv3"
910
"-mfloat-abi=hard"
1011
"-mno-unaligned-access"

0 commit comments

Comments
 (0)