blob: f5b95591af55f789ce9c000969e9e2d8be042851 [file] [log] [blame]
David Feng0ae76532013-12-14 11:47:35 +08001#
2# (C) Copyright 2002
3# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7PLATFORM_RELFLAGS += -fno-common -ffixed-x18
8
David Feng0ae76532013-12-14 11:47:35 +08009PF_CPPFLAGS_ARMV8 := $(call cc-option, -march=armv8-a)
Tom Rini1551df32014-02-25 10:27:01 -050010PF_NO_UNALIGNED := $(call cc-option, -mstrict-align)
David Feng0ae76532013-12-14 11:47:35 +080011PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_ARMV8)
12PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)