xref: /openbmc/u-boot/arch/arm/cpu/armv7/config.mk (revision e11ef3d2)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2002
4# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
5
6# On supported platforms we set the bit which causes us to trap on unaligned
7# memory access.  This is the opposite of what the compiler expects to be
8# the default so we must pass in -mno-unaligned-access so that it is aware
9# of our decision.
10PF_NO_UNALIGNED := $(call cc-option, -mno-unaligned-access,)
11PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)
12