config.mk 467 B

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